KeyHandlerInput // +isFunctionKeyHold
This commit is contained in:
parent
8270a3a41e
commit
6576311606
|
@ -146,6 +146,10 @@ class KeyHandlerInput: NSObject {
|
|||
flags.contains([.numericPad])
|
||||
}
|
||||
|
||||
@objc var isFunctionKeyHold: Bool {
|
||||
flags.contains([.function])
|
||||
}
|
||||
|
||||
@objc var isReservedKey: Bool {
|
||||
guard let code = KeyCode(rawValue: keyCode) else {
|
||||
return false
|
||||
|
|
Loading…
Reference in New Issue