Updated key layout

This commit is contained in:
Christoffer Martinsson 2024-11-17 16:49:11 +01:00
parent 1771bf3861
commit 9f603350fa

View File

@ -84,21 +84,21 @@ pub const MAP: [[Keyboard; NUMBER_OF_KEYS]; 3] = [
Keyboard::LeftAlt, // 36 Keyboard::LeftAlt, // 36
Keyboard::NoEventIndicated, // 37 Fn (= will never trigg this layer) Keyboard::NoEventIndicated, // 37 Fn (= will never trigg this layer)
Keyboard::Space, // 38 Keyboard::Space, // 38
Keyboard::DeleteBackspace, // 39 no button connected Keyboard::DeleteBackspace, // 39
Keyboard::LeftGUI, // 40 no button connected Keyboard::LeftGUI, // 40
Keyboard::ReturnEnter, // 41 no button connected Keyboard::ReturnEnter, // 41
Keyboard::Space, // 42 Keyboard::Space, // 42
Keyboard::NoEventIndicated, // 43 Fn (= will never trigg this layer) Keyboard::NoEventIndicated, // 43 Fn (= will never trigg this layer)
Keyboard::NoEventIndicated, // 44 Fn (= will never trigg this layer) Keyboard::NoEventIndicated, // 44 Fn (= will never trigg this layer)
Keyboard::NoEventIndicated, // 45 no button connected Keyboard::NoEventIndicated, // 45 no button connected
Keyboard::NoEventIndicated, // 46 no button connected Keyboard::NoEventIndicated, // 46 no button connected
Keyboard::NoEventIndicated, // 47 no button connected Keyboard::NoEventIndicated, // 47 no button connected
Keyboard::NoEventIndicated, // 48 no button connected Keyboard::NoEventIndicated, // 48
Keyboard::F2, // 49 no button connected Keyboard::VolumeUp, // 49
Keyboard::F3, // 50 no button connected Keyboard::VolumeDown, // 50
Keyboard::PrintScreen, // 51 no button connected Keyboard::PrintScreen, // 51
Keyboard::F5, // 52 no button connected Keyboard::F5, // 52
Keyboard::F6, // 53 no button connected Keyboard::F6, // 53
Keyboard::NoEventIndicated, // 54 no button connected Keyboard::NoEventIndicated, // 54 no button connected
Keyboard::NoEventIndicated, // 55 no button connected Keyboard::NoEventIndicated, // 55 no button connected
Keyboard::NoEventIndicated, // 56 no button connected Keyboard::NoEventIndicated, // 56 no button connected
@ -121,7 +121,7 @@ pub const MAP: [[Keyboard; NUMBER_OF_KEYS]; 3] = [
Keyboard::F8, // 8 Keyboard::F8, // 8
Keyboard::F9, // 9 Keyboard::F9, // 9
Keyboard::F10, // 10 Keyboard::F10, // 10
Keyboard::DeleteBackspace, // 11 Keyboard::DeleteForward, // 11
Keyboard::LeftControl, // 12 Keyboard::LeftControl, // 12
Keyboard::Keyboard1, // 13 Keyboard::Keyboard1, // 13
Keyboard::Keyboard2, // 14 Keyboard::Keyboard2, // 14
@ -149,21 +149,21 @@ pub const MAP: [[Keyboard; NUMBER_OF_KEYS]; 3] = [
Keyboard::LeftAlt, // 36 Keyboard::LeftAlt, // 36
Keyboard::NoEventIndicated, // 37 Fn (= will never trigg this layer) Keyboard::NoEventIndicated, // 37 Fn (= will never trigg this layer)
Keyboard::Space, // 38 Keyboard::Space, // 38
Keyboard::DeleteBackspace, // 39 no button connected Keyboard::DeleteBackspace, // 39
Keyboard::LeftGUI, // 40 no button connected Keyboard::LeftGUI, // 40
Keyboard::ReturnEnter, // 41 no button connected Keyboard::ReturnEnter, // 41
Keyboard::Space, // 42 Keyboard::Space, // 42
Keyboard::NoEventIndicated, // 43 Fn (= will never trigg this layer) Keyboard::NoEventIndicated, // 43 Fn (= will never trigg this layer)
Keyboard::RightAlt, // 44 Fn (= will never trigg this layer) Keyboard::NoEventIndicated, // 44 Fn (= will never trigg this layer)
Keyboard::NoEventIndicated, // 45 no button connected Keyboard::NoEventIndicated, // 45 no button connected
Keyboard::NoEventIndicated, // 46 no button connected Keyboard::NoEventIndicated, // 46 no button connected
Keyboard::NoEventIndicated, // 47 no button connected Keyboard::NoEventIndicated, // 47 no button connected
Keyboard::F1, // 48 no button connected Keyboard::NoEventIndicated, // 48
Keyboard::F2, // 49 no button connected Keyboard::VolumeUp, // 49
Keyboard::F3, // 50 no button connected Keyboard::VolumeDown, // 50
Keyboard::F4, // 51 no button connected Keyboard::PrintScreen, // 51
Keyboard::F5, // 52 no button connected Keyboard::F5, // 52
Keyboard::F6, // 53 no button connected Keyboard::F6, // 53
Keyboard::NoEventIndicated, // 54 no button connected Keyboard::NoEventIndicated, // 54 no button connected
Keyboard::NoEventIndicated, // 55 no button connected Keyboard::NoEventIndicated, // 55 no button connected
Keyboard::NoEventIndicated, // 56 no button connected Keyboard::NoEventIndicated, // 56 no button connected
@ -186,7 +186,7 @@ pub const MAP: [[Keyboard; NUMBER_OF_KEYS]; 3] = [
Keyboard::LeftGUI, // 8 Keyboard::LeftGUI, // 8
Keyboard::NoEventIndicated, // 9 Keyboard::NoEventIndicated, // 9
Keyboard::CapsLock, // 10 Keyboard::CapsLock, // 10
Keyboard::DeleteBackspace, // 11 Keyboard::DeleteForward, // 11
Keyboard::LeftControl, // 12 Keyboard::LeftControl, // 12
Keyboard::F15, // 13 Keyboard::F15, // 13
Keyboard::F16, // 14 Keyboard::F16, // 14
@ -214,21 +214,21 @@ pub const MAP: [[Keyboard; NUMBER_OF_KEYS]; 3] = [
Keyboard::LeftAlt, // 36 Keyboard::LeftAlt, // 36
Keyboard::NoEventIndicated, // 37 Fn (= will never trigg this layer) Keyboard::NoEventIndicated, // 37 Fn (= will never trigg this layer)
Keyboard::Space, // 38 Keyboard::Space, // 38
Keyboard::DeleteBackspace, // 39 no button connected Keyboard::DeleteBackspace, // 39
Keyboard::LeftGUI, // 40 no button connected Keyboard::LeftGUI, // 40
Keyboard::ReturnEnter, // 41 no button connected Keyboard::ReturnEnter, // 41
Keyboard::Space, // 42 Keyboard::Space, // 42
Keyboard::NoEventIndicated, // 43 Fn (= will never trigg this layer) Keyboard::NoEventIndicated, // 43 Fn (= will never trigg this layer)
Keyboard::NoEventIndicated, // 44 Fn (= will never trigg this layer) Keyboard::NoEventIndicated, // 44 Fn (= will never trigg this layer)
Keyboard::NoEventIndicated, // 45 no button connected Keyboard::NoEventIndicated, // 45 no button connected
Keyboard::NoEventIndicated, // 46 no button connected Keyboard::NoEventIndicated, // 46 no button connected
Keyboard::NoEventIndicated, // 47 no button connected Keyboard::NoEventIndicated, // 47 no button connected
Keyboard::F1, // 48 no button connected Keyboard::NoEventIndicated, // 48
Keyboard::F2, // 49 no button connected Keyboard::VolumeUp, // 49
Keyboard::F3, // 50 no button connected Keyboard::VolumeDown, // 50
Keyboard::F4, // 51 no button connected Keyboard::PrintScreen, // 51
Keyboard::F5, // 52 no button connected Keyboard::F5, // 52
Keyboard::F6, // 53 no button connected Keyboard::F6, // 53
Keyboard::NoEventIndicated, // 54 no button connected Keyboard::NoEventIndicated, // 54 no button connected
Keyboard::NoEventIndicated, // 55 no button connected Keyboard::NoEventIndicated, // 55 no button connected
Keyboard::NoEventIndicated, // 56 no button connected Keyboard::NoEventIndicated, // 56 no button connected