sehugg / 8bitworkshop

web-based IDE for 8-bit programming and Verilog development
http://8bitworkshop.com/
GNU General Public License v3.0
516 stars 84 forks source link

Support Z and X keys as buttons A/B for NES/7800/etc #167

Closed sehugg closed 1 year ago

sehugg commented 1 year ago

I changed from Z and X to Space and Shift to avoid conflicting with keyboards, but I think I could support both schemes on NES and 7800.

langel commented 1 year ago

It would be super cool if you could use both the analog stick and the d pad on the controller too. I just double checked and the NES emulator only responds to the analog stick.

sehugg commented 1 year ago

Might be working now here:

https://sehugg.github.io/8bitworkshop/?file=metacursor.c&platform=nes