chore: add android keys for channels switching

This commit is contained in:
Matvey Chernyshov 2024-07-10 03:12:16 +03:00
parent f374f8db38
commit e4eb44b364
3 changed files with 4 additions and 0 deletions

View file

@ -297,6 +297,8 @@ const keyMap = new Map<string, number>([
['Menu', 82],
['Notification', 83],
['Search', 84],
['ChannelUp', 166],
['ChannelDown', 167],
['AppSwitch', 187],
['Assist', 219],
['Cut', 277],

View file

@ -14352,6 +14352,7 @@ export type AndroidKey =
'Star' | 'Pound' | '*' | '#' |
'DialUp' | 'DialDown' | 'DialLeft' | 'DialRight' | 'DialCenter' |
'VolumeUp' | 'VolumeDown' |
'ChannelUp' | 'ChannelDown' |
'Power' |
'Camera' |
'Clear' |

View file

@ -299,6 +299,7 @@ export type AndroidKey =
'Star' | 'Pound' | '*' | '#' |
'DialUp' | 'DialDown' | 'DialLeft' | 'DialRight' | 'DialCenter' |
'VolumeUp' | 'VolumeDown' |
'ChannelUp' | 'ChannelDown' |
'Power' |
'Camera' |
'Clear' |