gainput
gainput copied to clipboard
Cross-platform C++ input library supporting gamepads, keyboard, mouse, touch
...by including a 'cd' into the build folder before the 'cmake ..'
The `lib/CMakeLists.txt` does not contain X11 linkage for Linux ``` if(WIN32) target_link_libraries(gainput ${XINPUT} ws2_32) target_link_libraries(gainputstatic ${XINPUT} ws2_32) add_definitions(-DGAINPUT_LIB_DYNAMIC=1) elseif(ANDROID) target_link_libraries(gainputstatic native_app_glue log android) target_link_libraries(gainput native_app_glue log android) elseif(APPLE) find_library(FOUNDATION Foundation)...
This library looks so refreshing relative to SDL. It’s sad that it appears to be abandoned. Are there any active contributors?
The buttons gainput::MouseButtonWheelUp and gainput::MouseButtonWheelDown don't work. My code example: m_InputMap.MapBool ( EButton::MouseWheelUp, m_MouseId, gainput::MouseButtonWheelUp ); m_InputMap.MapBool ( EButton::MenuUp, m_PadId, gainput::PadButtonUp ); m_InputMap.MapBool ( EButton::MouseWheelDown, m_MouseId, gainput::MouseButtonWheelDown ); m_InputMap.MapBool (...
Surprising that I haven't seen this issue reported yet, but if I disable "GAIN_BUILD_SHARED" I get the following error when trying to configure the project with CMake: ```sh CMake Error...
As mentioned in issue #78, it is not possible to generate the project in CMake if either `GAIN_BUILD_SHARED` or `GAIN_BUILD_STATIC` is disabled while generating the project. This pull request fixes...
Mouse wheel wasn't working when running on windows. (Fix was just copying the linux code)
Currently I find the MappedInputListener to only call the registered callback functions when the state of the button changes. Is there a way to force an input event from the...
I noticed sometimes when I scroll with my scrollwheel gainput crashes because the buttonID is not correctly initialized. I debuged the code, and the reason is that for some reason...