-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Joypad and joystick support #2
Comments
@bjorndm Yes, glfw is known to have pretty strong joystick support. I just checked the source code, and it seems that gioui does not include joystick support. Therefore, it is necessary to port all glfw joystick implementations. However, the original purpose of mado is window control and support for rendering engines including OpenGL. Joystick support will come later. I'll be happy to check it out if you send me a PullRequest. |
I can probably help with a joystick driver for Linux/Android in pure Go. On that platform it boils down to reading a device file. |
The purpose of mado is to have the same behavior as glfw, and some code is already implemented in glfw/input.go and glfw/joystick.go. Joystick support in glfw is a highly independent feature, and you can easily identify the implementation location by searching the source code for '_glfwInputJoystick'. I look forward to your activities. :) |
I am not sure but for portable game engines we will also need joystick and joypad support. Please consider it.
The text was updated successfully, but these errors were encountered: