diff --git a/lib/key.enum.ts b/lib/key.enum.ts index fab519c0..8078b93f 100644 --- a/lib/key.enum.ts +++ b/lib/key.enum.ts @@ -116,4 +116,17 @@ export enum Key { CapsLock, ScrollLock, NumLock, + + F13, + F14, + F15, + F16, + F17, + F18, + F19, + F20, + F21, + F22, + F23, + F24, } diff --git a/lib/provider/native/libnut-keyboard.class.ts b/lib/provider/native/libnut-keyboard.class.ts index 50b7302a..9f5db146 100644 --- a/lib/provider/native/libnut-keyboard.class.ts +++ b/lib/provider/native/libnut-keyboard.class.ts @@ -44,6 +44,18 @@ export default class KeyboardAction implements KeyboardProviderInterface { [Key.F10, "f10"], [Key.F11, "f11"], [Key.F12, "f12"], + [Key.F13, "f13"], + [Key.F14, "f14"], + [Key.F15, "f15"], + [Key.F16, "f16"], + [Key.F17, "f17"], + [Key.F18, "f18"], + [Key.F19, "f19"], + [Key.F20, "f20"], + [Key.F21, "f21"], + [Key.F22, "f22"], + [Key.F23, "f23"], + [Key.F24, "f24"], [Key.Num0, "0"], [Key.Num1, "1"],