Mercurial > louis > kiibohd-controller
comparison Output/pjrcUSB/output_com.h @ 429:970dab727f47
Adding basic mouse button support
- Full Mouse support will have to wait for KLL 0.6
* This will include dynamic HID descriptor generation for many wheels and axis depending on the KLL needs
- HID descriptor is currently limited to 8 buttons
- Technically mouse movement also works (tested by accident), but it's disable for now (needs some API thought)
- Adding additional udev rules
- Added KRO mode default define
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Mon, 21 Mar 2016 00:43:19 -0700 |
parents | 23a1868b4ac2 |
children | d3cef419c849 |
comparison
equal
deleted
inserted
replaced
428:b5746c43904e | 429:970dab727f47 |
---|---|
70 extern uint8_t USBKeys_SysCtrl; // 1KRO container for System Control HID table | 70 extern uint8_t USBKeys_SysCtrl; // 1KRO container for System Control HID table |
71 extern uint16_t USBKeys_ConsCtrl; // 1KRO container for Consumer Control HID table | 71 extern uint16_t USBKeys_ConsCtrl; // 1KRO container for Consumer Control HID table |
72 | 72 |
73 extern volatile uint8_t USBKeys_Protocol; // 0 - Boot Mode, 1 - NKRO Mode | 73 extern volatile uint8_t USBKeys_Protocol; // 0 - Boot Mode, 1 - NKRO Mode |
74 | 74 |
75 extern volatile uint16_t USBMouse_Buttons; // Bitmask for mouse buttons | |
76 | |
75 // Misc variables (XXX Some are only properly utilized using AVR) | 77 // Misc variables (XXX Some are only properly utilized using AVR) |
76 extern uint8_t USBKeys_Idle_Config; | 78 extern uint8_t USBKeys_Idle_Config; |
77 extern uint8_t USBKeys_Idle_Count; | 79 extern uint8_t USBKeys_Idle_Count; |
78 | 80 |
79 extern USBKeyChangeState USBKeys_Changed; | 81 extern USBKeyChangeState USBKeys_Changed; |
82 extern uint8_t USBMouse_Changed; | |
80 | 83 |
81 extern volatile uint8_t Output_Available; // 0 - Output module not fully functional, 1 - Output module working | 84 extern volatile uint8_t Output_Available; // 0 - Output module not fully functional, 1 - Output module working |
82 | 85 |
83 extern uint8_t Output_DebugMode; // 0 - Debug disabled, 1 - Debug enabled | 86 extern uint8_t Output_DebugMode; // 0 - Debug disabled, 1 - Debug enabled |
84 | 87 |