]> git.donarmstrong.com Git - kiibohd-kll.git/blobdiff - layouts/mouseTest.kll
Adding support for relative movement mouse keys
[kiibohd-kll.git] / layouts / mouseTest.kll
index c7b6514814d90d982eb7f3170098e1bfd1c8f1db..0841ec575e6d794793a19a7b4b3496343fe2d3a0 100644 (file)
@@ -1,17 +1,32 @@
 Name = mouseTest;
-Version = 0.3d;
+Version = 0.2;
 Author = "HaaTa (Jacob Alexander) 2016";
 KLL = 0.3d;
 
 # Modified Date
-Date = 2016-03-20;
+Date = 2016-03-21;
 
-U"1" : mouseOut( 1 );
-U"2" : mouseOut( 2 );
-U"3" : mouseOut( 3 );
-U"4" : mouseOut( 4 );
-U"5" : mouseOut( 5 );
-U"6" : mouseOut( 6 );
-U"7" : mouseOut( 7 );
-U"8" : mouseOut( 8 );
+# mouseOut
+# Arg1, button, 1-8
+# Arg2, mouse x relative axis -127 to 127
+# Arg3, mouse y relative axis -127 to 127
+
+U"1" : mouseOut( 1, 0, 0 );
+U"2" : mouseOut( 2, 0, 0 );
+U"3" : mouseOut( 3, 0, 0 );
+U"4" : mouseOut( 4, 0, 0 );
+U"5" : mouseOut( 5, 0, 0 );
+U"6" : mouseOut( 6, 0, 0 );
+U"7" : mouseOut( 7, 0, 0 );
+U"8" : mouseOut( 8, 0, 0 );
+
+U"Up" : mouseOut( 0, 0, 1 );
+U"Down" : mouseOut( 0, 0, -1 );
+U"Left" : mouseOut( 0, -1, 0 );
+U"Right" : mouseOut( 0, 1, 0 );
+
+U"W" : mouseOut( 0, 0, 5 );
+U"S" : mouseOut( 0, 0, -5 );
+U"A" : mouseOut( 0, -5, 0 );
+U"D" : mouseOut( 0, 5, 0 );