Stewmath / GameYob

[Super] Gameboy [Color] emulator for the Nintendo [3]DS
MIT License
270 stars 59 forks source link

Added support for binding 3DS and New 3DS buttons on 3DS-based systems #135

Closed shinyquagsire23 closed 9 years ago

shinyquagsire23 commented 9 years ago

Adds support for the binding and using of the Circle Pad on 3DS systems to their own bindable buttons for the emulator. Also adds support for the New 3DS's ZL, ZR, and C-Stick buttons as well. Since detecting a New 3DS vs a normal 3DS is out of the scope of ctrulib (for now, or as it seems), it allows you to bind for these buttons even on a 3DS, 3DS XL, or 2DS system.

Since a few bits within the input u32 are unassigned, these bits had to be worked around a bit to prevent things from being wonky in the editor. The two strings prompting to press X or Y also had to be adjusted.

Stewmath commented 9 years ago

I might just make the D-pad and circle pad interchangeable. But pulled for now cause I'm lazy.