summaryrefslogtreecommitdiff
path: root/app/mac/controller-adapter.hh
diff options
context:
space:
mode:
Diffstat (limited to 'app/mac/controller-adapter.hh')
-rw-r--r--app/mac/controller-adapter.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/mac/controller-adapter.hh b/app/mac/controller-adapter.hh
index d0fc33a..7a4c4b4 100644
--- a/app/mac/controller-adapter.hh
+++ b/app/mac/controller-adapter.hh
@@ -1,11 +1,16 @@
#pragma once
#import "nes/util/button-mask.hh"
+
#import <Foundation/Foundation.h>
+NS_ASSUME_NONNULL_BEGIN
+
/// Adapts inputs from a GCPhysicalInputProfile to a NES button mask.
@protocol ControllerAdapter <NSObject>
- (nes::button_mask)readPressedButtons;
-@end \ No newline at end of file
+@end
+
+NS_ASSUME_NONNULL_END \ No newline at end of file