Add UhkBuffer.backtrack() and implement the KeyAction class.

This commit is contained in:
László Monda
2016-03-26 02:52:50 +01:00
parent 32646f3616
commit 9d77d7212b
4 changed files with 55 additions and 10 deletions

View File

@@ -1,9 +1,10 @@
/// <reference path="KeyAction.ts" />
/// <reference path="Serializable.ts" />
class KeystrokeAction implements Serializable {
class KeystrokeAction extends KeyAction implements Serializable {
private static firstValidScancode = 1;
private static lastValidScancode = 231;
static firstValidScancode = 1;
static lastValidScancode = 231;
_scancode: number;
modifierMask: number;