comparison Output/pjrcUSB/capabilities.kll @ 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 39e338a6733d
children d3cef419c849
comparison
equal deleted inserted replaced
428:b5746c43904e 429:970dab727f47
1 Name = pjrcUSBCapabilities; 1 Name = pjrcUSBCapabilities;
2 Version = 0.6; 2 Version = 0.7;
3 Author = "HaaTa (Jacob Alexander) 2014-2015"; 3 Author = "HaaTa (Jacob Alexander) 2014-2016";
4 KLL = 0.3c; 4 KLL = 0.3d;
5 5
6 # Modified Date 6 # Modified Date
7 Date = 2015-08-21; 7 Date = 2016-03-20;
8 8
9 9
10 # Output capabilities 10 # Output capabilities
11 consCtrlOut => Output_consCtrlSend_capability( consCode : 2 ); 11 consCtrlOut => Output_consCtrlSend_capability( consCode : 2 );
12 noneOut => Output_noneSend_capability(); 12 noneOut => Output_noneSend_capability();
13 sysCtrlOut => Output_sysCtrlSend_capability( sysCode : 1 ); 13 sysCtrlOut => Output_sysCtrlSend_capability( sysCode : 1 );
14 usbKeyOut => Output_usbCodeSend_capability( usbCode : 1 ); 14 usbKeyOut => Output_usbCodeSend_capability( usbCode : 1 );
15 mouseOut => Output_usbMouse_capability( mouseCode : 2 );
15 16
16 # Configuration capabilities 17 # Configuration capabilities
17 kbdProtocolBoot => Output_kbdProtocolBoot_capability(); 18 kbdProtocolBoot => Output_kbdProtocolBoot_capability();
18 kbdProtocolNKRO => Output_kbdProtocolNKRO_capability(); 19 kbdProtocolNKRO => Output_kbdProtocolNKRO_capability();
19 20
20 # Locale Settings 21 # Locale Settings
21 keyboardLocale => KeyboardLocale_define; 22 keyboardLocale => KeyboardLocale_define;
22 keyboardLocale = 0; 23 keyboardLocale = 0;
24
25 # Default KRO Mode
26 # Set to 0 for Boot Mode (6KRO)
27 # Set to 1 for NKRO Mode (default)
28 usbProtocol => USBProtocol_define;
29 usbProtocol = 1;
23 30
24 # Bootloader Mode capability 31 # Bootloader Mode capability
25 # XXX 32 # XXX
26 # By default this is disabled on purpose 33 # By default this is disabled on purpose
27 # It is a large security hazard 34 # It is a large security hazard