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
This commit is contained in:
parent
0102d05c86
commit
3c9a97d51a
7 changed files with 155 additions and 52 deletions
|
|
@ -72,11 +72,14 @@ extern uint16_t USBKeys_ConsCtrl; // 1KRO container for Consumer Contro
|
|||
|
||||
extern volatile uint8_t USBKeys_Protocol; // 0 - Boot Mode, 1 - NKRO Mode
|
||||
|
||||
extern volatile uint16_t USBMouse_Buttons; // Bitmask for mouse buttons
|
||||
|
||||
// Misc variables (XXX Some are only properly utilized using AVR)
|
||||
extern uint8_t USBKeys_Idle_Config;
|
||||
extern uint8_t USBKeys_Idle_Count;
|
||||
|
||||
extern USBKeyChangeState USBKeys_Changed;
|
||||
extern uint8_t USBMouse_Changed;
|
||||
|
||||
extern volatile uint8_t Output_Available; // 0 - Output module not fully functional, 1 - Output module working
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue