view layouts/mouseTest.kll @ 72:0b817e8e9c15

Adding support for relative movement mouse keys - Includes kll.py cleanup - Fixed negative number generation and parsing
author Jacob Alexander <haata@kiibohd.com>
date Mon, 21 Mar 2016 22:22:13 -0700
parents 0900675f02ee
children 285fd63330fb
line wrap: on
line source

Name = mouseTest;
Version = 0.2;
Author = "HaaTa (Jacob Alexander) 2016";
KLL = 0.3d;

# Modified Date
Date = 2016-03-21;

# 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 );