Merge (Hold|Press|Release)(Key|Modifiers) into KeyMacroAction (#99)

This commit is contained in:
József Farkas
2016-09-07 09:02:10 +02:00
committed by GitHub
parent 858fa0d87c
commit 8a76da8df5
13 changed files with 198 additions and 350 deletions

View File

@@ -99,7 +99,7 @@ export class MapperService {
}
public scanCodeToText(scanCode: number): string[] {
return this.scanCodeTextMap[scanCode];
return this.scanCodeTextMap[scanCode] || [ 'Unkown' ];
}
public scanCodeToSvgImagePath(scanCode: number): string {