diff --git a/config-serializer/config-items/DualRoleKeystrokeAction.ts b/config-serializer/config-items/DualRoleKeystrokeAction.ts index bdb512cc..653b3b92 100644 --- a/config-serializer/config-items/DualRoleKeystrokeAction.ts +++ b/config-serializer/config-items/DualRoleKeystrokeAction.ts @@ -1,23 +1,9 @@ -enum LongPressActionId { - leftCtrl = 236, // KeyActionId.DualRoleActionLeftCtrl - leftShift, - leftAlt, - leftSuper, - rightCtrl, - rightShift, - rightAlt, - rightSuper, - mod, - fn, - mouse, -} - class DualRoleKeystrokeAction extends KeyAction implements Serializable { static keyActionTypeString = 'dualRoleKeystroke'; public scancode; - private _longPressAction: LongPressActionId; + private _longPressAction: KeyActionId; get longPressAction(): number { return this._longPressAction; @@ -30,8 +16,9 @@ class DualRoleKeystrokeAction extends KeyAction implements Serializable