diff options
| author | Hannes Schulze <haschu0103@outlook.de> | 2025-01-29 01:14:41 +0100 |
|---|---|---|
| committer | Hannes Schulze <haschu0103@outlook.de> | 2025-01-29 01:14:41 +0100 |
| commit | 1d32f7561305d6c86b1c80858bc73d55b1c6c402 (patch) | |
| tree | db4be090c2403a7e09dcd4eb116c3ec4bf5af926 /app/mac/scene.mm | |
| parent | c1062208bb54cce8dffa04e9697ae124f271ecaf (diff) | |
(untested) game controller support
Diffstat (limited to 'app/mac/scene.mm')
| -rw-r--r-- | app/mac/scene.mm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/mac/scene.mm b/app/mac/scene.mm index 0d50a7e..4ede6e0 100644 --- a/app/mac/scene.mm +++ b/app/mac/scene.mm @@ -97,6 +97,16 @@ namespace return self; } +- (void)keyUp:(NSEvent*)event +{ + // Handled by Game Controller +} + +- (void)keyDown:(NSEvent*)event +{ + // Handled by Game Controller +} + - (void)update:(NSTimeInterval)currentTime { _nes->ref_controller_1().set_pressed(_primaryController ? [_primaryController readPressedButtons] : nes::button_mask{}); |
