What I'm going to try to implement is as follows:
- Left / right / forward / backwards translations controls the cursor position.
- Height controls a cursor speed multiplier.
- When translated, the cursor moves faster or slower dependent on how much the cylinder is lifted / lowered respectively.
- Rotate (like a dial) to scroll. Specifically, "ultra-high precision scroll" such as the scrolling from a Windows precision touchpad, not the dedent-like default scroll.
- Looking at the Windows documentation, I believe RAWMOUSE would achieve this.
- Tilt backwards = left click and tilt forward = right click.
- Ideally, this would be implemented as an angle and magnitude so that more mouse/keyboard events can be added in the future. For example:
- Right-button-down event when -20 < Tilt_Angle <= 20 AND Tilt_Magnitude > 200 AND another virtual tilt button isn’t already active
- Right-button-up event when Tilt_Magnitude <= 200
- Ideally, this would be implemented as an angle and magnitude so that more mouse/keyboard events can be added in the future. For example:
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
The good news is that I've got the driver to talk with the sample DLL and then program some of the required functionality. The bad news is that I've spent like 11.5hrs today on it (it's currently 3am) and multiple hours on previous days, meaning that I haven't had the time to write a juicy log about all the details.
Are you sure? yes | no