Remap layer 2,0 slightly.

Add arrow keys and move F-keys
This commit is contained in:
2024-07-03 14:09:44 +02:00
parent a066b3c5dc
commit e730fb9ec7
4 changed files with 38 additions and 38 deletions

View File

@ -137,7 +137,7 @@ async fn play_shader(state: &'static State, shader: &impl Shader) {
(4, 4),
];
const BRIGHTNESS: f32 = 0.15;
const BRIGHTNESS: f32 = 1.00;
let switch_coords = SWITCH_COORDS.map(|(x, y)| (f32::from(x) / 4.0, f32::from(y) / 4.0));

View File

@ -115,19 +115,19 @@ pub enum Key {
PageUp = 0x4B,
/// Keyboard Delete Forward
Delete = 0x4C,
/// KeyboardEnd7
/// Keyboard End
End = 0x4D,
/// Keyboard PageDown7
PageDown7 = 0x4E,
/// Keyboard RightArrow7
RightArrow7 = 0x4F,
/// Keyboard LeftArrow7
LeftArrow7 = 0x50,
/// Keyboard DownArrow7
DownArrow7 = 0x51,
/// Keyboard UpArrow7
UpArrow7 = 0x52,
/// Keypad Num Lock and Clear6
/// Keyboard PageDown
PageDown = 0x4E,
/// Keyboard RightArrow
RightArrow = 0x4F,
/// Keyboard LeftArrow
LeftArrow = 0x50,
/// Keyboard DownArrow
DownArrow = 0x51,
/// Keyboard UpArrow
UpArrow = 0x52,
/// Keypad Num Lock and Clear
KeypadNumLock = 0x53,
/// Keypad /
KeypadSlash = 0x54,