{"id":20145891,"url":"https://github.com/usagi/wonderland.subsystem","last_synced_at":"2026-03-04T20:33:24.800Z","repository":{"id":16060484,"uuid":"18804707","full_name":"usagi/wonderland.subsystem","owner":"usagi","description":"C++ header-only library of commonize wrapper layer of a window management and an input event polling","archived":false,"fork":false,"pushed_at":"2016-10-06T02:46:39.000Z","size":668,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-30T17:47:25.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/usagi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-15T15:15:49.000Z","updated_at":"2016-02-15T22:32:11.000Z","dependencies_parsed_at":"2022-09-12T06:01:56.243Z","dependency_job_id":null,"html_url":"https://github.com/usagi/wonderland.subsystem","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/usagi/wonderland.subsystem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Fwonderland.subsystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Fwonderland.subsystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Fwonderland.subsystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Fwonderland.subsystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usagi","download_url":"https://codeload.github.com/usagi/wonderland.subsystem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Fwonderland.subsystem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30091779,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T19:41:02.502Z","status":"ssl_error","status_checked_at":"2026-03-04T19:40:05.550Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T22:18:36.860Z","updated_at":"2026-03-04T20:33:23.782Z","avatar_url":"https://github.com/usagi.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wonderland.subsystem\n\nwonderland subsystem is C++ header-only library\n of commonize wrapper layer\n of a window management and an input event polling\n as GLFW3, GLFW2, SDL2 and SDL1\n for standalone use and wonderland engine\n with PC(g++, clang++) and Emscripten(em++).\n\nexample:\n\n- [example-1](http://usagi.github.io/wonderland.subsystem/build.em++.GLFW3/example/example-1/example-1.html)\n- [example-2](http://usagi.github.io/wonderland.subsystem/build.em++.GLFW3/example/example-2/example-2.html)\n\nnote: run these example with look a javascript console.\n\n## currently support\n\n- compiler\n    - g++-4.9\n    - clang++-3.5\n    - em++-1.27.1\n\n- subsystem\n    - GLFW3\n        - g++/clang++: 3.1\n        - em++: 3.0.3\n    - GLFW2\n\n## features\n\n- window and backend system management\n    - commonized initialization for backends as GLFW3, GLFW2, SDL2, SDL1.\n      - with RAII based automatic resource destructing.\n\n- input management\n    - commonized keyboard state (key-code convertible to USB HID Usage Page 9).\n    - commonized pointing state\n        - buttons : bool\n        - wheel   : glm::vec2\n        - position: glm::vec2\n        - hat     : glm::vec2\n        - ball    : glm::vec2\n    \n## dependancy\n\n- [Boost.ScopeExit](http://www.boost.org/doc/libs/1_55_0/libs/scope_exit/doc/html/index.html)\n- [Boost.PropertyTree](http://www.boost.org/doc/libs/1_55_0/doc/html/property_tree.html)\n- [glm](https://github.com/g-truc/glm)\n- [Sprout](https://github.com/bolero-MURAKAMI/Sprout)\n\n- optional (need one of these)\n    - [GLFW3](http://www.glfw.org/)\n    - GLFW2\n    - [SDL2](http://www.libsdl.org/)\n    - SDL1\n\n## can't supporting feature list\n\n- GLFW3\n    - [joystcik hat-switch](https://github.com/glfw/glfw/issues/278)\n    - joystick hat\n    - joystick ball\n    - joystcik name\n- GLFW2\n    - joystcik hat-switch\n    - joystick hat\n    - joystick ball\n    - joystcik name\n    - pointing device wheel dx\n- SDL2\n    - pointing device wheel dx\n- SDL1 (1.2 and 1.3)\n    - pointing device wheel dx dy\n    - opengl core/compat profile initialization\n\n- Emscripten\n    - [pointing device wheel dy reversed](https://github.com/kripken/emscripten/issues/2303)\n    - game controller device is not supported\n        - hint: [HTML5 Gamepad API](https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html#gamepad-interface) is not support common web-browser in currently\n\n## plan to supporting list\n\n- [plan to version 2.](https://github.com/usagi/wonderland.subsystem/issues/20)\n    - GLUT + GLEW ( only for PC )\n    - EGL + original-input-impl ( only for Web )\n    - QtOpenGL\n\n## backend API documentation link\n\n- GLFW3 http://www.glfw.org/docs/3.0/\n- GLFW2 http://www.glfw.org/GLFWReference27.pdf\n- SDL2 https://wiki.libsdl.org/APIByCategory\n- SDL1 http://www.libsdl.org/release/SDL-1.2.15/docs/html/\n\n## license\n\n- [MIT](LICENSE)\n\n## author\n\nUsagi Ito \u003cusagi@WonderRabbitProject.net\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusagi%2Fwonderland.subsystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusagi%2Fwonderland.subsystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusagi%2Fwonderland.subsystem/lists"}