fix(remote-control) Add some missing key codes for numpad (#12879)

This commit is contained in:
Horatiu Muresan 2023-02-07 17:00:59 +02:00 committed by GitHub
parent 84221c5c13
commit fef78152e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -67,7 +67,9 @@ export const KEYS = {
BACKSLASH: '\\',
MINUS: '-',
EQUAL: '=',
SLASH: '/'
SLASH: '/',
ASTERISK: '*',
PLUS: '+'
};
/* eslint-disable max-len */
@ -114,6 +116,11 @@ const keyCodeToKey = {
103: KEYS.NUMPAD_7,
104: KEYS.NUMPAD_8,
105: KEYS.NUMPAD_9,
106: KEYS.ASTERISK,
107: KEYS.PLUS,
109: KEYS.MINUS,
110: KEYS.PERIOD,
111: KEYS.SLASH,
112: KEYS.F1,
113: KEYS.F2,
114: KEYS.F3,