1
0
mirror of https://github.com/mist-devel/mist-firmware.git synced 2026-04-28 13:08:19 +00:00

KP+/- now works again, also added support for KPEnter

This commit is contained in:
robinsonb5
2013-08-10 22:52:06 +00:00
parent f99c4f78db
commit baeff3e0de
3 changed files with 8 additions and 1 deletions

View File

@@ -116,7 +116,7 @@ const unsigned short usb2ami[] = {
0x5d, // 55: KP *
0x4a, // 56: KP -
0x5e, // 57: KP +
MISS, // 58: KP Enter
0x43, // 58: KP Enter
0x1d, // 59: KP 1
0x1e, // 5a: KP 2
0x1f, // 5b: KP 3

6
menu.c
View File

@@ -205,6 +205,12 @@ void HandleUI(void)
case KEY_RIGHT :
right = true;
break;
case KEY_KPPLUS :
plus=true;
break;
case KEY_KPMINUS :
minus=true;
break;
}
if(menu || select || up || down || left || right )

1
osd.h
View File

@@ -39,6 +39,7 @@
#define KEY_PGDN 0x6D
#define KEY_HOME 0x6A
#define KEY_ESC 0x45
#define KEY_KPENTER 0x43
#define KEY_ENTER 0x44
#define KEY_BACK 0x41
#define KEY_SPACE 0x40