feat(keyboard): feature phone buttons (#4694)
I got a KaiOS phone with some awesome buttons on it I hadn't seen before on the web. This adds the following buttons to our default keyboard layout: `SoftLeft` `SoftRight` `Camera` `Call` `EndCall` `VolumeUp` `VolumeDown`
This commit is contained in:
parent
a17c727b78
commit
49b27956fe
@ -277,5 +277,12 @@ module.exports = {
|
||||
'{': {'keyCode': 219, 'key': '{', 'code': 'BracketLeft'},
|
||||
'|': {'keyCode': 220, 'key': '|', 'code': 'Backslash'},
|
||||
'}': {'keyCode': 221, 'key': '}', 'code': 'BracketRight'},
|
||||
'"': {'keyCode': 222, 'key': '"', 'code': 'Quote'}
|
||||
'"': {'keyCode': 222, 'key': '"', 'code': 'Quote'},
|
||||
'SoftLeft': {'key': 'SoftLeft', 'code': 'SoftLeft', 'location': 4},
|
||||
'SoftRight': {'key': 'SoftRight', 'code': 'SoftRight', 'location': 4},
|
||||
'Camera': {'keyCode': 44, 'key': 'Camera', 'code': 'Camera', 'location': 4},
|
||||
'Call': {'key': 'Call', 'code': 'Call', 'location': 4},
|
||||
'EndCall': {'keyCode': 95, 'key': 'EndCall', 'code': 'EndCall', 'location': 4},
|
||||
'VolumeDown': {'keyCode': 182, 'key': 'VolumeDown', 'code': 'VolumeDown', 'location': 4},
|
||||
'VolumeUp': {'keyCode': 183, 'key': 'VolumeUp', 'code': 'VolumeUp', 'location': 4},
|
||||
};
|
Loading…
Reference in New Issue
Block a user