diff options
| author | Hannes Schulze <haschu0103@outlook.de> | 2025-01-29 00:58:07 +0100 |
|---|---|---|
| committer | Hannes Schulze <haschu0103@outlook.de> | 2025-01-29 00:58:07 +0100 |
| commit | c1062208bb54cce8dffa04e9697ae124f271ecaf (patch) | |
| tree | 5d387dcb76ec26a87d7ecafb983939b359c8f11e /app/mac/controller-adapter-keyboard.hh | |
| parent | 117f584b3f3d7945732a29848eb6d4ead1f57bee (diff) | |
use game controller api for input
Diffstat (limited to 'app/mac/controller-adapter-keyboard.hh')
| -rw-r--r-- | app/mac/controller-adapter-keyboard.hh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/mac/controller-adapter-keyboard.hh b/app/mac/controller-adapter-keyboard.hh new file mode 100644 index 0000000..d91f069 --- /dev/null +++ b/app/mac/controller-adapter-keyboard.hh @@ -0,0 +1,14 @@ +#pragma once + +#import "controller-adapter.hh" +#import <GameController/GameController.h> + +NS_ASSUME_NONNULL_BEGIN + +@interface ControllerAdapterKeyboard : NSObject <ControllerAdapter> + +@property (readonly, nullable) GCKeyboard* keyboard; + +@end + +NS_ASSUME_NONNULL_END
\ No newline at end of file |
