logiops
logiops copied to clipboard
support smartshift(0x2111) on mx anywhere3
reference: https://drive.google.com/file/d/1HT-ih4Zjb5yRx1ilyYsphYeXW_MTJ_X_/view?usp=sharing
Tested your patch, working well, nice work.
new configure keyword for smartshift v2(0x2111): torque (the current tunable torque in % of the maxForce)
smartshift:
{
on: true;
threshold: 12;
torque: 80;
};
Strange, I’m getting the following warning:
[INFO] Device found: MX Anywhere 3 on /dev/hidraw2:255
[WARN] /dev/hidraw2:255: SmartShift feature not found, cannot use ToggleSmartShift action.
We should merge the SmartShift
and SmartShiftV2
features into a unified SmartShift
feature. The raw HID++ 2.0 feature interfaces should stay separate though. That way we avoid issues like what @sfllaw described and provide a better abstraction.
Look into how we deal with RemapButton
and the various versions of ReprogControls
for more details on implementation.
Ping? Merging this would help resolve #174 and #262, even if it could be improved further.
Will look at this again and fix it up for merging, sorry about the delay.