Commit graph

75 commits

Author SHA1 Message Date
Phil Taylor
41e4e68f0e Reset knobValues to 0 after sending 2023-02-10 15:51:01 +00:00
Phil Taylor
54eb26ad9c Hopefully fix random buttons 2023-02-10 15:47:23 +00:00
Phil Taylor
93c081057b Add mutex to ensure thread safety 2023-02-10 15:23:57 +00:00
Phil Taylor
98774acd64 Update usbcontroller.cpp 2023-02-10 13:34:04 +00:00
Phil Taylor
81fc32b63f Try again 2023-02-10 13:28:09 +00:00
Phil Taylor
e50de626b6 More work on knobs 2023-02-10 09:52:51 +00:00
Phil Taylor
53f3def101 Flip bits in knob command 2023-02-09 18:43:42 +00:00
Phil Taylor
b5faf0ca80 Provisional support for knobs 2023-02-09 13:21:51 +00:00
Phil Taylor
b794acbf98 Add more buttons 2023-02-07 23:05:42 +00:00
Phil Taylor
1818ebc2bf tuning knob? 2023-02-07 22:37:26 +00:00
Phil Taylor
46eaccf12f Another try 2023-02-07 21:12:02 +00:00
Phil Taylor
2522cbbe6d Update usbcontroller.cpp 2023-02-07 21:01:54 +00:00
Phil Taylor
57c9789892 Another try for buttons 2023-02-07 20:59:53 +00:00
Phil Taylor
85e31bb8bf try to fix ecoder buttons 2023-02-07 20:51:20 +00:00
Phil Taylor
e00cdc5c36 Correct order! 2023-02-07 19:41:39 +00:00
Phil Taylor
b97c3835c9 Add support for ecoder buttons 2023-02-07 19:37:33 +00:00
Phil Taylor
9dc9f8d0f2 Some initial updates 2023-02-07 19:02:05 +00:00
Phil Taylor
96798fca42 Try again 2023-02-07 17:11:53 +00:00
Phil Taylor
84fc9329f3 Slightly better way of defining USB device types 2023-02-07 14:49:17 +00:00
Phil Taylor
74f3d193bf Add sensitivity control to USB controllers. 2023-02-07 09:32:33 +00:00
Phil Taylor
736c0cde47 Another fix 2023-02-06 19:54:52 +00:00
Phil Taylor
db49b2a8bd More USB fixes 2023-02-06 19:51:30 +00:00
Phil Taylor
b2e3b6bce0 Add device path 2023-02-06 18:50:49 +00:00
Phil Taylor
22574dab59 Check hidapi version 2023-02-06 18:19:12 +00:00
Phil Taylor
9170ded847 More attempts to fix MacOS 2023-02-06 17:52:47 +00:00
Phil Taylor
ebd81c96c2 Require exclusive access for MacOS 2023-02-06 15:54:35 +00:00
Phil Taylor
52bfddbf7d Update usbcontroller.cpp 2023-02-06 15:48:04 +00:00
Phil Taylor
1baa4eae28 Fic mac build 2023-02-06 15:46:48 +00:00
Phil Taylor
99e89ac8ef More improvements to device enumeration 2023-02-06 15:33:59 +00:00
Phil Taylor
17d3364fff Improve USB device enumeration and fix for MacOS 2023-02-06 15:02:48 +00:00
Phil Taylor
14c9d3e6b9 Bit of tidying 2023-02-02 23:11:49 +00:00
Phil Taylor
9a080c1b1c Initialize lastdata first. 2023-02-02 17:45:24 +00:00
Phil Taylor
53235c070b Use correct data for F1 key 2023-02-02 16:45:45 +00:00
Phil Taylor
8da5c44a1f Ensure link LED is turned on at startup 2023-02-02 16:23:41 +00:00
Phil Taylor
b6a7f68cc0 Turn off link LED when shutdown 2023-02-02 16:21:59 +00:00
Phil Taylor
df5c97cdbd Reduce to only send 3 bytes (report+data) 2023-02-02 16:17:41 +00:00
Phil Taylor
a2a067cf76 LED not working, maybe due to data size? 2023-02-02 15:47:59 +00:00
Phil Taylor
607997a987 More fixes 2023-02-02 15:02:32 +00:00
Phil Taylor
54520f1472 Fix warning 2023-02-02 11:24:22 +00:00
Phil Taylor
5ef3a9cb97 Fix GCC build error 2023-02-02 11:23:17 +00:00
Phil Taylor
d9830409cf Query RC-28 for version 2023-02-02 00:03:13 +00:00
Phil Taylor
cfe863457c Stop shuttle emitting a signal every 100ms! 2023-02-01 18:29:26 +00:00
Phil Taylor
0689533fb6 Try to get RC-28 LEDs working 2023-02-01 12:16:04 +00:00
Phil Taylor
a4492b4b2c Fix compile warning 2023-01-30 17:49:42 +00:00
Phil Taylor
30b2918d20 Remove a bit of debugging and fix compile warning 2023-01-29 15:15:41 +00:00
Phil Taylor
fa4fa4f672 Various shuttle fixes incorporating #54 2023-01-29 15:08:47 +00:00
Phil Taylor
bb648fa954 Fix compile issues 2023-01-12 19:39:35 +00:00
Phil Taylor
3510fc4707 Merge latest master and make USB controllers a compile time directive 2023-01-12 19:20:52 +00:00
Phil Taylor
741445dfcf Try to make dial smoother 2022-12-29 00:28:42 +00:00
Phil Taylor
f634d39e53 Add some more debugging 2022-12-29 00:25:14 +00:00