mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
emulation: fix mapping for down/left
This also maps backslash to Menu. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
24fbdd9c48
commit
e6073c585d
1 changed files with 3 additions and 2 deletions
|
|
@ -273,11 +273,12 @@ namespace Antmicro.Renode.Peripherals.Input
|
|||
{KeyScanCode.F3, new KeyMap(0, 0, 0, 1<<8, 0, 0, 0, 0, 0)},
|
||||
{KeyScanCode.F4, new KeyMap(0, 0, 0, 1<<9, 0, 0, 0, 0, 0)},
|
||||
{KeyScanCode.Up, new KeyMap(0, 0, 0, 0, 0, 0, 1<<4, 0, 0)},
|
||||
{KeyScanCode.Down, new KeyMap(0, 0, 0, 0, 0, 0, 0, 1<<2, 0)},
|
||||
{KeyScanCode.Left, new KeyMap(0, 0, 0, 0, 0, 0, 0, 1<<2, 0)},
|
||||
{KeyScanCode.Down, new KeyMap(0, 0, 0, 0, 0, 0, 0, 0, 1<<2)},
|
||||
{KeyScanCode.Left, new KeyMap(0, 0, 0, 0, 0, 0, 0, 0, 1<<3)},
|
||||
{KeyScanCode.Right, new KeyMap(0, 0, 0, 1<<6, 0, 0, 0, 0, 0)},
|
||||
|
||||
{KeyScanCode.KeypadEnter, new KeyMap(0, 0, 0, 0, 0, 1<<2, 0, 0, 0)},
|
||||
{KeyScanCode.OemPipe, new KeyMap(0, 0, 0, 0, 0, 1<<2, 0, 0, 0)},
|
||||
};
|
||||
|
||||
private readonly Machine machine;
|
||||
|
|
|
|||
Loading…
Reference in a new issue