Skip to content
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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

aus4000
Copy link

@aus4000 aus4000 commented Jan 4, 2015

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 :)

@damex
Copy link

damex commented Feb 8, 2015

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
Copy link
Collaborator

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.

@Ape
Copy link
Collaborator

Ape commented Apr 30, 2016

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?

naoki-mizuno pushed a commit to naoki-mizuno/ds4drv that referenced this pull request Oct 18, 2018
naoki-mizuno pushed a commit to naoki-mizuno/ds4drv that referenced this pull request Oct 18, 2018
naoki-mizuno pushed a commit to naoki-mizuno/ds4drv that referenced this pull request Sep 1, 2019
cj360 pushed a commit to cj360/ds4drv that referenced this pull request Jan 16, 2020
cj360 pushed a commit to cj360/ds4drv that referenced this pull request Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants