Commit graph

90 commits

Author SHA1 Message Date
Phil Taylor
00a137042f Allow main knob to be used for other values than VFO 2023-03-18 01:34:40 +00:00
Phil Taylor
40a66d58dd Support multiple USB controllers 2023-03-17 23:35:40 +00:00
Phil Taylor
9f35afc826 Make ptt react correctly 2023-02-13 15:14:27 +00:00
Phil Taylor
f6eb4b8237 Remove debugging 2023-02-12 23:14:51 +00:00
Phil Taylor
351b6bf03a Update usbcontroller.cpp 2023-02-12 17:17:29 +00:00
Phil Taylor
9bdb179d32 Add support for Xencelabs QuickKeys 2023-02-12 16:45:21 +00:00
Phil Taylor
5521bab200 Some more changes 2023-02-11 11:39:18 +00:00
Phil Taylor
ae4d498b8c Multiply knob values * 10 2023-02-10 18:52:51 +00:00
Phil Taylor
79445e99b2 Another try 2023-02-10 18:40:11 +00:00
Phil Taylor
27d7a6163d Quick test 2023-02-10 18:26:34 +00:00
Phil Taylor
f12d997052 Update usbcontroller.cpp 2023-02-10 18:13:50 +00:00
Phil Taylor
fbe6ae67fb Merge branch 'master' into ecoder 2023-02-10 18:11:42 +00:00
Phil Taylor
2527eff3b5 Correct usbMutex 2023-02-10 18:10:32 +00:00
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
Elliott Liggett
8db6924e56 Very minor thing to help compiling with older hidapi. 2023-02-08 08:26:36 -08:00
Phil Taylor
1fe106cfe0 Fix for old hidapi without version info. 2023-02-08 10:12:48 +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