135 rindas
4.4 KiB
Plaintext
135 rindas
4.4 KiB
Plaintext
Name = MD1.1;
|
|
Version = 0.3d;
|
|
Author = "HaaTa (Jacob Alexander) 2014-2016";
|
|
KLL = 0.3c;
|
|
|
|
# Modified Date
|
|
Date = 2016-02-06;
|
|
|
|
|
|
S0x00 : U"Esc";
|
|
S0x01 : U"1";
|
|
S0x02 : U"2";
|
|
S0x03 : U"3";
|
|
S0x04 : U"4";
|
|
S0x05 : U"5";
|
|
S0x06 : U"6";
|
|
S0x07 : U"7";
|
|
S0x08 : U"8";
|
|
S0x09 : U"9";
|
|
S0x0A : U"0";
|
|
S0x0B : U"Minus";
|
|
S0x0C : U"Equal";
|
|
S0x0D : U"Backslash";
|
|
S0x0E : U"Backtick";
|
|
S0x0F : U"Tab";
|
|
S0x10 : U"Q";
|
|
S0x11 : U"W";
|
|
S0x12 : U"E";
|
|
S0x13 : U"R";
|
|
S0x14 : U"T";
|
|
S0x15 : U"Y";
|
|
S0x16 : U"U";
|
|
S0x17 : U"I";
|
|
S0x18 : U"O";
|
|
S0x19 : U"P";
|
|
S0x1A : U"LBrace";
|
|
S0x1B : U"RBrace";
|
|
S0x1C : U"Backspace";
|
|
S0x1D : U"Ctrl";
|
|
S0x1E : U"A";
|
|
S0x1F : U"S";
|
|
S0x20 : U"D";
|
|
S0x21 : U"F";
|
|
S0x22 : U"G";
|
|
S0x23 : U"H";
|
|
S0x24 : U"J";
|
|
S0x25 : U"K";
|
|
S0x26 : U"L";
|
|
S0x27 : U"Semicolon";
|
|
S0x28 : U"Quote";
|
|
S0x29 : U"Enter";
|
|
S0x2A : U"LShift";
|
|
S0x2B : U"Z";
|
|
S0x2C : U"X";
|
|
S0x2D : U"C";
|
|
S0x2E : U"V";
|
|
S0x2F : U"B";
|
|
S0x30 : U"N";
|
|
S0x31 : U"M";
|
|
S0x32 : U"Comma";
|
|
S0x33 : U"Period";
|
|
S0x34 : U"Slash";
|
|
S0x35 : U"RShift";
|
|
S0x36 : U"Function1"; # Fun key
|
|
S0x37 : U"Function2"; # Left Blank Key
|
|
S0x38 : U"LAlt";
|
|
S0x39 : U"LGui";
|
|
S0x3A : U"Space";
|
|
S0x3B : U"RGui";
|
|
S0x3C : U"RAlt";
|
|
S0x3D : U"Function3"; # Right Blank Key 1
|
|
S0x3E : U"Function4"; # Right Blank Key 2
|
|
|
|
|
|
# Custom Action Examples
|
|
|
|
# Example capability, prints to cli
|
|
action1 => CustomAction_action1_capability(); # No arguments
|
|
|
|
# Blocks given USB Code, must be used with blockLink
|
|
# Simple example, supports only blocking a single key at a time
|
|
# Keys must be specified using numbers see Macro/PartialMap/usb_hid.h
|
|
blockHold => CustomAction_blockHold_capability( usbCode : 1 ); # Single 8-bit argument
|
|
blockKey => CustomAction_blockKey_capability( usbCode : 1 );
|
|
|
|
|
|
|
|
# Defines available to the MD1_1 Scan Module
|
|
|
|
# LED Default Enable Mask Override
|
|
#
|
|
# Each LED is represented by a single bit
|
|
# See (http://www.issi.com/WW/pdf/31FL3731C.pdf) for details
|
|
ISSILedMask1 = "
|
|
0xFF, 0x00, /* C1-1 -> C1-16 */
|
|
0xFF, 0x00, /* C2-1 -> C2-16 */
|
|
0xFF, 0x00, /* C3-1 -> C3-16 */
|
|
0xFF, 0x00, /* C4-1 -> C4-16 */
|
|
0xFF, 0x00, /* C5-1 -> C5-16 */
|
|
0xFF, 0x00, /* C6-1 -> C6-16 */
|
|
0xFF, 0x00, /* C7-1 -> C7-16 */
|
|
0x7F, 0x00, /* C8-1 -> C8-16 */
|
|
0x00, 0x00, /* C9-1 -> C9-16 */
|
|
";
|
|
|
|
# LED Brightness Override
|
|
#
|
|
# Each LED channel supports 256 levels (8-bit control)
|
|
# By default, LEDs are set to 0 brightness
|
|
#ISSILedBrightness1 = "
|
|
#0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C1-1 -> C1-16 */
|
|
#0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C2-1 -> C2-16 */
|
|
#0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C3-1 -> C3-16 */
|
|
#0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C4-1 -> C4-16 */
|
|
#0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C5-1 -> C5-16 */
|
|
#0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C6-1 -> C6-16 */
|
|
#0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C7-1 -> C7-16 */
|
|
#0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C8-1 -> C8-16 */
|
|
#0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C9-1 -> C9-16 */
|
|
#";
|
|
|
|
# Full brightness example
|
|
ISSILedBrightness1 = "
|
|
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C1-1 -> C1-16 */
|
|
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C2-1 -> C2-16 */
|
|
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C3-1 -> C3-16 */
|
|
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C4-1 -> C4-16 */
|
|
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C5-1 -> C5-16 */
|
|
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C6-1 -> C6-16 */
|
|
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C7-1 -> C7-16 */
|
|
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C8-1 -> C8-16 */
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C9-1 -> C9-16 */
|
|
";
|
|
|