Skip to content

Add Switch gamepad controller support#5

Closed
ArturSkowronski wants to merge 172 commits into
bfirsh:masterfrom
ArturSkowronski:switch-gamepad-support
Closed

Add Switch gamepad controller support#5
ArturSkowronski wants to merge 172 commits into
bfirsh:masterfrom
ArturSkowronski:switch-gamepad-support

Conversation

@ArturSkowronski
Copy link
Copy Markdown

Summary

  • Add gamepad support with working implementation for Nintendo Switch controllers (Joy-Con)
  • Include JoyCon initialization helper and macOS permission handling
  • Remap controller buttons to sensible defaults
  • Extend gamepad support to terminal mode

Changes

  • New JoyConInitializer.java and MacOsPermissionHelper.java helpers
  • Enhanced GamepadController.kt with Switch controller support
  • Updated terminal input handler for gamepad integration
  • Updated build dependencies

Test plan

  • Verify Switch controller connects and is recognized
  • Verify button mapping works correctly in both Compose and Terminal modes
  • Verify macOS permission prompts appear correctly

…applet

Create Abstraction over Applet Rendering
Add CI configuration, basic smoke test, and update dependencies
Removing unnecessary mappers
Fixing unnecessary abstraction over Input Handler
…traction

Decouple ScreenView from NES, removing UIFactory abstaction
Refactor ByteBuffer and related classes, removing unused methods and …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant