chore: add android keys for channels switching (#31619)

This commit is contained in:
Matvey Chernyshov 2024-07-10 23:15:45 +03:00 committed by GitHub
parent a1f82b0bb6
commit ba62f83454
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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' |