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

Cannot differentiate the trackpad and joystick on Valve Index Knuckles #135

Open
TomJamesPearce opened this issue Oct 5, 2021 · 1 comment

Comments

@TomJamesPearce
Copy link

TomJamesPearce commented Oct 5, 2021

At the moment, both the joystick and trackpad on the valve index knuckles bind to index 0 and 1 on get_joystick_axis

The workaround I have for now is to use the button press/release events the joystick emits on move on index 14 that the trackpad does not in order to tell whether I should be ignoring the joystick axis values.

Since it's normal to rest your thumbs on the trackpads on the index, and the frequency of using get_joystick_axis in order to implement locomotion, ideally they'd be bound to different indexes.

I'm not sure how difficult this would be to support as I haven't looked at implementation at all, or whether listening for button press/release events to differentiate functionality is expected.

EDIT: More testing shows that the trackpad does emit a press even on index 14 if you actually press it rather than just "scroll" or touch.

@BastiaanOlij
Copy link
Member

I never ended up mapping those after the action system was introduced. Should be a relative easy fix.

Note that this is fully mapped and working if you use the latest OpenXR plugin

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

No branches or pull requests

2 participants