1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2024-12-23 01:06:11 +00:00

Swap x and y key

This commit is contained in:
MatMoul 2016-12-27 22:13:53 +01:00
parent 800548ac5b
commit d6a9c4191b
2 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@ k w $raw3
k e $raw3
k r $raw3
k t $raw3
k z $raw3
k y $raw3
k u $raw3
k i $raw3
k o $raw3
@ -94,7 +94,7 @@ k num_plus $raw4
# Raw 5 :
k shift_left $raw5
k intl_backslash $raw5
k y $raw5
k z $raw5
k x $raw5
k c $raw5
k v $raw5

View File

@ -235,8 +235,8 @@ bool Keyboard::getKeyAddress(Key key, KeyAddress &keyAddress) {
case Key::v: keyAddress.id = 0x19; break;
case Key::w: keyAddress.id = 0x1a; break;
case Key::x: keyAddress.id = 0x1b; break;
case Key::z: keyAddress.id = 0x1c; break;
case Key::y: keyAddress.id = 0x1d; break;
case Key::y: keyAddress.id = 0x1c; break;
case Key::z: keyAddress.id = 0x1d; break;
case Key::n1: keyAddress.id = 0x1e; break;
case Key::n2: keyAddress.id = 0x1f; break;
case Key::n3: keyAddress.id = 0x20; break;