Archived
1
0

Adding examples and template.

This commit is contained in:
Jacob Alexander 2014-09-02 23:45:07 -07:00
parent 1f0bf65417
commit 2d76b5a6ca
8 changed files with 266 additions and 0 deletions

View File

@ -0,0 +1,9 @@
Name = ExampleModule;
Author = "HaaTa (Jacob Alexander) 2014";
KLL = 0.3;
myCapability2 => myFunc2();
myCapability3 => myFunc2( myArg1 : 2 );
myCapability => myFunc( myArg1 : 1, myArg2 : 4 );

View File

@ -0,0 +1,73 @@
Name = Kishsaver;
Version = 0.1;
Author = "HaaTa (Jacob Alexander) 2014";
KLL = 0.2d;
# Modified Date
Date = 2014-06-12;
S0x40 : U"Backspace";
S0x42 : U"}";
S0x43 : U"Delete";
S0x44 : U"Enter";
S0x46 : U"RShift";
S0x47 : U"RCtrl";
S0x48 : U"=";
S0x49 : U"-";
S0x4A : U"{";
S0x4B : U"\";
S0x4C : U"'";
S0x4D : U"/";
S0x4E : U"RGui";
S0x4F : U"RAlt";
S0x50 : U"0";
S0x51 : U"9";
S0x52 : U"P";
S0x53 : U"O";
S0x54 : U";";
S0x55 : U"L";
S0x56 : U".";
S0x57 : U",";
S0x58 : U"8";
S0x59 : U"7";
S0x5A : U"I";
S0x5B : U"U";
S0x5C : U"J";
S0x5D : U"K";
S0x5E : U"M";
S0x5F : U"N";
S0x60 : U"6";
S0x61 : U"5";
S0x62 : U"Y";
S0x63 : U"T";
S0x64 : U"H";
S0x65 : U"G";
S0x66 : U"B";
S0x67 : U"Space";
S0x68 : U"4";
S0x69 : U"3";
S0x6A : U"R";
S0x6B : U"E";
S0x6C : U"F";
S0x6D : U"D";
S0x6E : U"C";
S0x6F : U"V";
S0x70 : U"2";
S0x71 : U"Q";
S0x72 : U"W";
S0x73 : U"A";
S0x74 : U"S";
S0x75 : U"X";
S0x76 : U"Z";
S0x77 : U"LAlt";
S0x78 : U"1";
S0x79 : U"`";
S0x7A : U"Tab";
S0x7B : U"CapsLock";
S0x7C : U"LShift";
S0x7D : U"Inter1";
S0x7E : U"LGui";
S0x7F : U"LCtrl";

34
examples/example.kll Normal file
View File

@ -0,0 +1,34 @@
Name = colemak;
Version = 0.1;
Author = "HaaTa (Jacob Alexander) 2014";
KLL = 0.3;
# Modified Date
Date = 2014-08-24;
test => myCFunc( dat : 1 );
U"A" : U"B";
# Top row
#'e' : 'f';
#'r' : 'p';
#'t' : 'g';
#'y' : 'j';
#'u' : 'l';
#'i' : 'u';
#'o' : 'y';
#'p' : ';';
# Middle Row
#'s' : 'r';
#'d' : 's';
#'f' : 't';
#'g' : 'd';
#'j' : 'n';
#'k' : 'e';
#'l' : 'i';
#';' : 'o';
# Bottom Row
#'n' : 'k';

78
examples/md1Map.kll Normal file
View File

@ -0,0 +1,78 @@
Name = MD1;
Version = 0.1;
Author = "HaaTa (Jacob Alexander) 2014";
KLL = 0.3;
# Modified Date
Date = 2014-08-24;
# MOVE THIS SECTION to another file
usbKeyOut => Output_usbCodeSend_capability( usbCode : 1 );
# END SECTION
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"Tab";
S0x0F : U"Q";
S0x10 : U"W";
S0x11 : U"E";
S0x12 : U"R";
S0x13 : U"T";
S0x14 : U"Y";
S0x15 : U"U";
S0x16 : U"I";
S0x17 : U"O";
S0x18 : U"P";
S0x19 : U"LBrace";
S0x1A : U"RBrace";
S0x1B : U"Delete";
S0x1C : U"Ctrl";
S0x1D : U"A";
S0x1E : U"S";
S0x1F : U"D";
S0x20 : U"F";
S0x21 : U"G";
S0x22 : U"H";
S0x23 : U"J";
S0x24 : U"K";
S0x25 : U"L";
S0x26 : U"Semicolon";
S0x27 : U"Quote";
S0x28 : U"Enter";
S0x29 : U"LShift";
S0x2A : U"Z";
S0x2B : U"X";
S0x2C : U"C";
S0x2D : U"V";
S0x2E : U"B";
S0x2F : U"N";
S0x30 : U"M";
S0x31 : U"Comma";
S0x32 : U"Period";
S0x33 : U"Slash";
S0x34 : U"RShift";
S0x35 : U"Function1"; # Fun key
S0x36 : U"Function2"; # Left Blank Key
S0x37 : U"LAlt";
S0x38 : U"LGui";
S0x39 : U"Space";
S0x3A : U"RGui";
S0x3B : U"RAlt";
S0x3C : U"Function3"; # Right Blank Key 1
S0x3D : U"Function4"; # Right Blank Key 2
S0x3E : U"BackTick";

45
examples/simple1.kll Normal file
View File

@ -0,0 +1,45 @@
Name = colemak;
Author = "HaaTa (Jacob Alexander) 2014";
KLL = 0.3;
myCapability2 => myFunc2();
myCapability3 => myFunc3( myArg1 : 2 );
myCapability => myFunc( myArg1 : 1, myArg2 : 4 );
S0x3 : myCapability2();
S0x4 : myCapability2() + myCapability3(0x5);
S0x5 : myCapability2(), myCapability3(0x6);
S0x7 : myCapability3( 0x8 );
S0x8 : myCapability( 0x2, 0x4 );
S0x6 : 'abcdDfF';
S0x6 : 'abcdDfF', U0xb;
S0x6 : 'abcdDfF', U0xb, U[0x1-0x4,0xa];
S0x40 : U[0x1];
S0x40 : U[0x1,0x2];
S0x40 : U[0x1-0x4];
S0x40 : U[0x1-0x4,0xa];
S0x40 : U[0x1-0x4,0xa] + U0x5;
S0x40 : U[0x1-0x4,0xa] + U[0x5-0x20];
S0x40 : U[0x1-0x4,0xa] + U[0x5-0x20], U33;
S0x40 : U0x01, U2;
S0x40 : U0x01, U2+U3;
S0x40 : U0x01, U2+U"Esc";
S0x0B : U["A"-"5"];
S0x0B : U["Esc"];
S0x46 : U0x01, U2+U["2"-"5"];
S0x40 : U0x01, U2+U["Esc"];
S0x40 : U0x01, U2+U["Esc", "A", "C"-"F"];
S0x40 : U"Backspace";
S0x1+S0x2 : U"2";
S0x3,S0x4 : U"1";
S0x1+S0x2,S0x3,S0x4 : U"3";
S[ 0x5 ] : U"4";
S[ 0x5, 0x6 ] : U"5";
S[ 0x5, 0x6, 0x7, 0x8 ] : U"5";
S[ 0x7 - 0x9 ] : U"6";
S[ 0x2 - 0x9, 0x10 ] : U"r";
S[ 0x2 - 0x9, 0x10 ]+S[0x5 - 0x6, 0x9],S0xA+S0xB : U"r";
S0x42 : U"}";
S0x42 : U"Esc";

17
examples/simple2.kll Normal file
View File

@ -0,0 +1,17 @@
Name = colemak;
Author = "HaaTa (Jacob Alexander) 2014";
KLL = 0.3;
myCapability2 => myFunc2();
myCapability3 => myFunc3( myArg1 : 2 );
myCapability => myFunc( myArg1 : 1, myArg2 : 4 );
S0x3 : myCapability2();
S0x6 : 'abcdDfF';
S0x40 : U[0x1];
S0x40 : U[0x1-0x4];
S0x0B : U["Esc"];
S[ 0x7 - 0x9 ] : U"6";
S[ 0x7 - 0x9 ], S[0x2,0x3] : U"6";
S[ 0x2 - 0x9, 0x10 ] : U"r";

View File

@ -0,0 +1,10 @@
Name = colemak;
Author = "HaaTa (Jacob Alexander) 2014";
KLL = 0.2a;
#S0x40 : U0x43;
S0x40 : U"Backspace";
S0x42 : U"}";
S0x42 : U"Esc";