diff --git a/libs/bao1x-hal/src/board/baosec.rs b/libs/bao1x-hal/src/board/baosec.rs index 827706a73..47061cfea 100644 --- a/libs/bao1x-hal/src/board/baosec.rs +++ b/libs/bao1x-hal/src/board/baosec.rs @@ -461,8 +461,8 @@ pub fn kpc_sr0_to_key(raw_event: u32) -> [KeyPress; 4] { 0 => KeyPress::Down, 1 => KeyPress::Select, 2 => KeyPress::Up, - 4 => KeyPress::Right, - 5 => KeyPress::Left, + 4 => KeyPress::Left, + 5 => KeyPress::Right, 6 => KeyPress::Center, #[cfg(feature = "accel-kbd")] 9 => KeyPress::Accel, @@ -489,8 +489,8 @@ pub fn kpc_sr1_to_key(raw_event: u32) -> KeyPress { 0x10 => KeyPress::Down, 0x11 => KeyPress::Select, 0x12 => KeyPress::Up, - 0x14 => KeyPress::Right, - 0x15 => KeyPress::Left, + 0x14 => KeyPress::Left, + 0x15 => KeyPress::Right, 0x16 => KeyPress::Center, #[cfg(feature = "accel-kbd")] 0x19 => KeyPress::Accel,