From 1d32f7561305d6c86b1c80858bc73d55b1c6c402 Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Wed, 29 Jan 2025 01:14:41 +0100 Subject: (untested) game controller support --- app/mac/controller-adapter.hh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'app/mac/controller-adapter.hh') 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 +NS_ASSUME_NONNULL_BEGIN + /// Adapts inputs from a GCPhysicalInputProfile to a NES button mask. @protocol ControllerAdapter - (nes::button_mask)readPressedButtons; -@end \ No newline at end of file +@end + +NS_ASSUME_NONNULL_END \ No newline at end of file -- cgit v1.3.1