Name = ICPad; Version = 0.1; Author = "HaaTa (Jacob Alexander) 2015"; KLL = 0.3d; # Modified Date Date = 2015-10-21; 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"Hash"; S0x0E : U"Backspace"; S0x0F : U"BackTick"; S0x10 : U"Tab"; S0x11 : U"Q"; S0x12 : U"W"; S0x13 : U"E"; S0x14 : U"R"; S0x15 : U"T"; S0x16 : U"Y"; S0x17 : U"U"; S0x18 : U"I"; S0x19 : U"O"; S0x1A : U"P"; S0x1B : U"LBrace"; S0x1C : U"RBrace"; S0x1D : U"Backslash"; S0x1E : U"Delete"; S0x1F : U"CapsLock"; S0x20 : U"A"; S0x21 : U"S"; S0x22 : U"D"; S0x23 : U"F"; S0x24 : U"G"; S0x25 : U"H"; S0x26 : U"J"; S0x27 : U"K"; S0x28 : U"L"; S0x29 : U"Semicolon"; S0x2A : U"Quote"; S0x2B : U"App"; S0x2C : U"Enter"; S0x2D : U"PageUp"; S0x2E : U"LShift"; S0x2F : U"ISO Slash"; S0x30 : U"Z"; S0x31 : U"X"; S0x32 : U"C"; S0x33 : U"V"; S0x34 : U"B"; S0x35 : U"N"; S0x36 : U"M"; S0x37 : U"Comma"; S0x38 : U"Period"; S0x39 : U"Slash"; S0x3A : U"RShift"; S0x3B : U"Up"; S0x3C : U"PageDown"; S0x3D : U"Ctrl"; S0x3E : U"Function1"; S0x3F : U"LAlt"; S0x40 : U"Space"; S0x41 : U"RAlt"; S0x42 : U"Gui"; S0x43 : U"Menu"; S0x44 : U"Left"; S0x45 : U"Down"; S0x46 : U"Right"; # Defines available to the ICPad Scan Module # Available ISSI Chips ISSI_Chips = 2; # 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, 0xFF, /* C1-1 -> C1-16 */ 0xFE, 0xFE, /* C2-1 -> C2-16 */ 0xFE, 0xFE, /* C3-1 -> C3-16 */ 0x06, 0x06, /* C4-1 -> C4-16 */ 0x00, 0x00, /* C5-1 -> C5-16 */ 0x60, 0x60, /* C6-1 -> C6-16 */ 0x7F, 0x7F, /* C7-1 -> C7-16 */ 0x7F, 0x7F, /* C8-1 -> C8-16 */ 0xFF, 0xFF, /* C9-1 -> C9-16 */ "; ISSILedMask2 = " 0xFF, 0x00, /* C1-1 -> C1-16 */ 0xFE, 0x00, /* C2-1 -> C2-16 */ 0xFE, 0x00, /* C3-1 -> C3-16 */ 0x06, 0x00, /* C4-1 -> C4-16 */ 0x00, 0x00, /* C5-1 -> C5-16 */ 0x00, 0x00, /* C6-1 -> C6-16 */ 0x0F, 0x00, /* C7-1 -> C7-16 */ 0x0F, 0x00, /* C8-1 -> C8-16 */ 0x0F, 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 = " 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* C1-1 -> C1-16 */ 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* C2-1 -> C2-16 */ 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* C3-1 -> C3-16 */ 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 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, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, /* C6-1 -> C6-16 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, /* C7-1 -> C7-16 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, /* C8-1 -> C8-16 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* C9-1 -> C9-16 */ "; ISSILedBrightness2 = " 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C1-1 -> C1-16 */ 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C2-1 -> C2-16 */ 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C3-1 -> C3-16 */ 0x00, 0xFF, 0xFF, 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 */ 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C7-1 -> C7-16 */ 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C8-1 -> C8-16 */ 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C9-1 -> C9-16 */ "; # Misc ISSILedBrightness1 = " 0xD0, 0xD0, 0xD0, 0xD0, 0xD0, 0xD0, 0xD0, 0xD0, 0xD0, 0xD0, 0xD0, 0xD0, 0xD0, 0xD0, 0xD0, 0xD0, /* C1-1 -> C1-16 */ 0x00, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x00, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, /* C2-1 -> C2-16 */ 0x00, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x00, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, /* C3-1 -> C3-16 */ 0x00, 0x40, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x40, 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, 0x20, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x20, 0x00, /* C6-1 -> C6-16 */ 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0x00, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0x00, /* C7-1 -> C7-16 */ 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x00, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x00, /* C8-1 -> C8-16 */ 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, /* C9-1 -> C9-16 */ "; ISSILedBrightness2 = " 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C1-1 -> C1-16 */ 0x00, 0xD0, 0xD0, 0xD0, 0xD0, 0xD0, 0xD0, 0xD0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C2-1 -> C2-16 */ 0x00, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C3-1 -> C3-16 */ 0x00, 0xA0, 0xA0, 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 */ 0xC0, 0xC0, 0xC0, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C7-1 -> C7-16 */ 0x44, 0x44, 0x44, 0x44, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C8-1 -> C8-16 */ 0x77, 0x77, 0x77, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* C9-1 -> C9-16 */ ";