-
Notifications
You must be signed in to change notification settings - Fork 148
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
Utilizing custom usages for device input buttons that don't appear in the monitor #207
Comments
Use these custom usages for the Shuttle Pro v2 for the two black buttons to work (also included are usages for the wheel and jog dial, which are incorrectly marked as relative in the device's descriptor). If you define them correctly they will show up in the Monitor. You can just import the attached JSON file. |
Thank you so much! Everything maps properly now. Greatly appreciate your efforts in creating this and responsiveness. |
I have a follow-up question. The Shuttle Pro V2 spring loaded jog wheel has the feature of being able to scroll up or down with the scrolling speed corresponding to how far the jog wheel is turned in a given direction. Is there a way to replicate this behavior with the HID Remapper? Thanks for your help! |
You can map 0xffff0038 to V scroll and it should work. You might want to set the scaling to 0.001. I got reports from another user that it still goes to fast with this setting so we might have to come up with some workaround as the internal precision is 0.001. But give that a go. |
I tried that, with a few observations:
|
Maybe try this. Make an expression like so:
And map that expression to "V scroll". It sort of applies a 0.01x pre-scaling by only taking the input every hundredth frame. So the scaling parameter should have some usable values now in the valid range. |
That does allow for a usable scroll, but interestingly with a fixed speed of scrolling through a stack of radiology images regardless of how much the jog dial (ffff0038) is turned. In Contour's software, it looks like there are 7 levels of control for each direction the dial is turned: I have configured that to change the frequency of mouse wheel down or up to 2, 5, 10, 15, 30, 45 times per second, and as fast as possible for "Shuttle in 1, 2, 3, 4, 5, 6, and 7). A couple of representative images below. Is it possible to simulate that type of behavior For the Jog Wheel (ffff0037), is it possible to program different actions turning it left versus right? I use the Jog Left and Jog Right to simulate the left arrow and right arrows, respectively. |
For the inner wheel you can use an expression like this:
And then map that expression to one key with scaling set to 1 and to another key with scaling set to -1. I'm not sure why it doesn't give you variable speed of scrolling, I don't have the actual device in hand, but I will try and figure this out. Does it also not give you variable speed in other apps, like a browser? |
That worked perfectly for the inner jog wheel. My apologies regarding the jog dial, I was trying it in a browser-based image viewer and was not getting variable scrolling speed, but I just tried it on my real image viewer and it does provide variable scrolling speed. In the monitor, the values range from -7 to +7, correlating to the degree the dial is turned in either direction. I think this is now working as intended. Thanks so much for your efforts on this, greatly appreciated! |
Hi, I am trying to use the hid-remapper with the Contour ShuttlePRO v2 input device, which does not have onboard memory, to be able to use the device portably on multiple workstations. Nearly all the physical buttons appear on the Monitor when clicked, with the exception of two buttons. I can extrapolate what their Usage ID would be based on the other buttons that do show up in the Monitor (0x00090001 through 0x009000d), and want to see if I can force them to map.
After I have created the custom usages in Settings, how do I map those custom usages? I don't see them as available input options under mappings, nor is there a "+" button to click on a similar fashion as the Monitor to begin creating a new mapping with the custom usage. Below is the custom usage I created:
Thank you so much for your help, I can already see how useful your device will be in corporate settings where software installations are not allowed on user workstations.
The text was updated successfully, but these errors were encountered: