-
Notifications
You must be signed in to change notification settings - Fork 217
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
Added better default mapping and added basic multi-touch support #51
base: master
Are you sure you want to change the base?
Conversation
would be nice to get that. |
@@ -372,8 +435,9 @@ def emit_mouse(self, report): | |||
continue | |||
|
|||
sensitivity = self.mouse_analog_sensitivity | |||
self.mouse_rel[name] += accel * sensitivity | |||
self.mouse_rel[name] += accel * sensitivity |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a minor white space error here.
I like this. Multi-touch support should be separated to another pull request. Also there are some minor white space errors that should be fixed. @aus4000 Are you still active? Does anybody else want to continue from this? |
Changed the default mapping to better reflect https://www.kernel.org/doc/Documentation/input/gamepad.txt (the gyro and accel mappings can't be helped though), but left the old mapping intact for compatability purposes and and is usable with --emulate-kernel from the command line.
Eventually I'll try my hand at two finger scroll, but I figured I'd submit the basic support for multi-touch in case anyone wants to beat me to it :)