committed by
László Monda
parent
67a55363da
commit
e713c52df8
@@ -508,6 +508,35 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"text": "Launch application",
|
||||
"children": [
|
||||
{
|
||||
"id": "142",
|
||||
"text": "Launch Web Browser",
|
||||
"additional": {
|
||||
"type": "media",
|
||||
"scancode": 406
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "143",
|
||||
"text": "Launch Email Client",
|
||||
"additional": {
|
||||
"type": "media",
|
||||
"scancode": 394
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "144",
|
||||
"text": "Launch Calculator",
|
||||
"additional": {
|
||||
"type": "media",
|
||||
"scancode": 402
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"text": "System",
|
||||
"children": [
|
||||
|
||||
@@ -219,6 +219,10 @@ export class MapperService {
|
||||
this.mediaScanCodeTextMap.set(233, ['Vol +']);
|
||||
this.mediaScanCodeTextMap.set(234, ['Vol -']);
|
||||
|
||||
this.mediaScanCodeTextMap.set(406, ['Launch Web Browser']);
|
||||
this.mediaScanCodeTextMap.set(394, ['Launch Email Client']);
|
||||
this.mediaScanCodeTextMap.set(402, ['Launch Calculator']);
|
||||
|
||||
this.sytemScanCodeTextMap = new Map<number, string[]>();
|
||||
this.sytemScanCodeTextMap.set(129, ['Power Down']);
|
||||
this.sytemScanCodeTextMap.set(130, ['Sleep']);
|
||||
@@ -244,6 +248,10 @@ export class MapperService {
|
||||
this.mediaScancodeIcons.set(233, 'icon-kbd__media--vol-up');
|
||||
this.mediaScancodeIcons.set(234, 'icon-kbd__media--vol-down');
|
||||
|
||||
this.mediaScancodeIcons.set(406, 'icon-kbd__media--web-browser');
|
||||
this.mediaScancodeIcons.set(394, 'icon-kbd__media--email-client');
|
||||
this.mediaScancodeIcons.set(402, 'icon-kbd__media--calculator');
|
||||
|
||||
this.systemScancodeIcons = new Map<number, string>();
|
||||
this.systemScancodeIcons.set(129, 'icon-kbd__system_power_down');
|
||||
this.systemScancodeIcons.set(130, 'icon-kbd__system_sleep');
|
||||
|
||||
Reference in New Issue
Block a user