2014-09-14 22:51:36 +00:00
|
|
|
Name = pjrcUSBCapabilities;
|
2016-03-22 05:23:57 +00:00
|
|
|
Version = 0.8;
|
2016-03-21 07:43:19 +00:00
|
|
|
Author = "HaaTa (Jacob Alexander) 2014-2016";
|
|
|
|
KLL = 0.3d;
|
2014-09-14 22:51:36 +00:00
|
|
|
|
|
|
|
# Modified Date
|
2016-03-22 05:23:57 +00:00
|
|
|
Date = 2016-03-21;
|
2014-09-14 22:51:36 +00:00
|
|
|
|
|
|
|
|
2014-10-02 06:44:12 +00:00
|
|
|
# Output capabilities
|
2014-09-21 18:55:37 +00:00
|
|
|
consCtrlOut => Output_consCtrlSend_capability( consCode : 2 );
|
2015-05-14 04:58:22 +00:00
|
|
|
noneOut => Output_noneSend_capability();
|
2014-09-21 18:55:37 +00:00
|
|
|
sysCtrlOut => Output_sysCtrlSend_capability( sysCode : 1 );
|
|
|
|
usbKeyOut => Output_usbCodeSend_capability( usbCode : 1 );
|
2016-03-22 05:23:57 +00:00
|
|
|
mouseOut => Output_usbMouse_capability( mouseCode : 2, relative_x : 2, relative_y : 2 );
|
2014-09-14 22:51:36 +00:00
|
|
|
|
2014-10-02 06:44:12 +00:00
|
|
|
# Configuration capabilities
|
|
|
|
kbdProtocolBoot => Output_kbdProtocolBoot_capability();
|
|
|
|
kbdProtocolNKRO => Output_kbdProtocolNKRO_capability();
|
|
|
|
|
2015-08-19 07:01:15 +00:00
|
|
|
# Locale Settings
|
|
|
|
keyboardLocale => KeyboardLocale_define;
|
|
|
|
keyboardLocale = 0;
|
|
|
|
|
2016-03-21 07:43:19 +00:00
|
|
|
# Default KRO Mode
|
|
|
|
# Set to 0 for Boot Mode (6KRO)
|
|
|
|
# Set to 1 for NKRO Mode (default)
|
|
|
|
usbProtocol => USBProtocol_define;
|
|
|
|
usbProtocol = 1;
|
|
|
|
|
2015-08-22 02:43:45 +00:00
|
|
|
# Bootloader Mode capability
|
|
|
|
# XXX
|
|
|
|
# By default this is disabled on purpose
|
|
|
|
# It is a large security hazard
|
|
|
|
flashModeEnabled => flashModeEnabled_define;
|
|
|
|
flashModeEnabled = 0;
|
|
|
|
|
|
|
|
flashMode => Output_flashMode_capability();
|
|
|
|
|