Add History Back and History Forward scancodes. Resolves #776.
This commit is contained in:
@@ -509,6 +509,22 @@
|
|||||||
"type": "media",
|
"type": "media",
|
||||||
"scancode": 138
|
"scancode": 138
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "145",
|
||||||
|
"text": "History Back",
|
||||||
|
"additional": {
|
||||||
|
"type": "media",
|
||||||
|
"scancode": 548
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "146",
|
||||||
|
"text": "History Forward",
|
||||||
|
"additional": {
|
||||||
|
"type": "media",
|
||||||
|
"scancode": 549
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -326,6 +326,9 @@ export class MapperService {
|
|||||||
this.mediaScanCodeTextMap.set(394, ['Launch Email Client']);
|
this.mediaScanCodeTextMap.set(394, ['Launch Email Client']);
|
||||||
this.mediaScanCodeTextMap.set(402, ['Launch Calculator']);
|
this.mediaScanCodeTextMap.set(402, ['Launch Calculator']);
|
||||||
|
|
||||||
|
this.mediaScanCodeTextMap.set(548, ['Hist -']);
|
||||||
|
this.mediaScanCodeTextMap.set(549, ['Hist +']);
|
||||||
|
|
||||||
this.systemScanCodeTextMap = new Map<number, string[]>();
|
this.systemScanCodeTextMap = new Map<number, string[]>();
|
||||||
this.systemScanCodeTextMap.set(129, ['Power Down']);
|
this.systemScanCodeTextMap.set(129, ['Power Down']);
|
||||||
this.systemScanCodeTextMap.set(130, ['Sleep']);
|
this.systemScanCodeTextMap.set(130, ['Sleep']);
|
||||||
|
|||||||
Reference in New Issue
Block a user