-
Notifications
You must be signed in to change notification settings - Fork 8
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
Raw mouse input. #89
Comments
Thank you for your suggestion. Implementing raw input sounds like lot of work, but it’s probably the optimal option indeed. I don’t know if we can get the raw input through SDL2; if not, cross-platform support is going to be complicated. We could alternatively add a multiplier over the desktop mouse but I don’t know how well that would work. SDL used to have the SDL_VIDEO_X11_MOUSEACCEL environment variable to set a custom mouse acceleration, but it doesn’t seem to work anymore. https://wiki.libsdl.org/FAQLinux#How_do_I_enable_X11_mouse_acceleration.3F As a workaround, you could to make a shell wrapper like: # set acceleration through xinput or xset
oshu "$@"
# reset acceleration Though oshu is still maintained, it is not under active development. I’ll leave your issue open as a reminder, but it won’t be implemented too soon. |
At the moment oshu seems to use the desktop mouse input with it's desktop mouse acceleration, but playing shooter games it is common to use raw input instead with an in-game (config file or command line) multiplicator setting for the mouse speed.
The text was updated successfully, but these errors were encountered: