Add History Back and History Forward scancodes. Resolves #776.

This commit is contained in:
László Monda
2018-09-24 03:56:29 +02:00
parent cbd4460df0
commit 0b3fca63b7
2 changed files with 19 additions and 0 deletions

View File

@@ -509,6 +509,22 @@
"type": "media",
"scancode": 138
}
},
{
"id": "145",
"text": "History Back",
"additional": {
"type": "media",
"scancode": 548
}
},
{
"id": "146",
"text": "History Forward",
"additional": {
"type": "media",
"scancode": 549
}
}
]
},

View File

@@ -326,6 +326,9 @@ export class MapperService {
this.mediaScanCodeTextMap.set(394, ['Launch Email Client']);
this.mediaScanCodeTextMap.set(402, ['Launch Calculator']);
this.mediaScanCodeTextMap.set(548, ['Hist -']);
this.mediaScanCodeTextMap.set(549, ['Hist +']);
this.systemScanCodeTextMap = new Map<number, string[]>();
this.systemScanCodeTextMap.set(129, ['Power Down']);
this.systemScanCodeTextMap.set(130, ['Sleep']);