mirror of
https://github.com/MatMoul/g810-led.git
synced 2024-12-22 17:06:10 +00:00
Swap x and y key
This commit is contained in:
parent
800548ac5b
commit
d6a9c4191b
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user