// // KBKeyboardInputHandler.h // CustomKeyboard // // Key tap handling helper. // #import @class KBKey; NS_ASSUME_NONNULL_BEGIN typedef void (^KBKeyboardActionHandler)(void); typedef void (^KBKeyboardKeyTapHandler)(KBKey *key); @interface KBKeyboardInputHandler : NSObject @property (nonatomic, copy, nullable) KBKeyboardActionHandler onToggleShift; @property (nonatomic, copy, nullable) KBKeyboardActionHandler onToggleSymbols; @property (nonatomic, copy, nullable) KBKeyboardKeyTapHandler onKeyTapped; - (BOOL)handleKeyTap:(KBKey *)key; @end NS_ASSUME_NONNULL_END