Hello MickGyver. I have a "original" NES controller with 10 buttons (up, down, left, right, select, start, A, B, Turbo A, Turbo B. Looks just like the regular NES controller and just as old too, but with the two turbo buttons. I tried the code, tried modifying to 10 buttons, kept at 8 as well (thinking the internal chip does the "turbo" logic). Wire colors are the same as an original NES. Gamepad shows up, but the buttons do not register in the Game controller control window (joy.cpl). When changing the 8 to 10 for number of buttons, in still only see the 4 buttons in the gamepad window. Tried adding two more spots here (not sure what to change them to) uint8_t btnBits[BUTTON_COUNT] = {0x20,0x10,0x40,0x80,UP,DOWN,LEFT,RIGHT}; I haven't had any luck. Was originally going the Raspberry Pi Pico route (got that working with Atari) but didn't was to cut up the NES circuit board to map to keyboard buttons. I'd like to made it an actually gamepad vs keyboard. Any help? Thanks
Hello MickGyver. I have a "original" NES controller with 10 buttons (up, down, left, right, select, start, A, B, Turbo A, Turbo B. Looks just like the regular NES controller and just as old too, but with the two turbo buttons. I tried the code, tried modifying to 10 buttons, kept at 8 as well (thinking the internal chip does the "turbo" logic). Wire colors are the same as an original NES. Gamepad shows up, but the buttons do not register in the Game controller control window (joy.cpl). When changing the 8 to 10 for number of buttons, in still only see the 4 buttons in the gamepad window. Tried adding two more spots here (not sure what to change them to) uint8_t btnBits[BUTTON_COUNT] = {0x20,0x10,0x40,0x80,UP,DOWN,LEFT,RIGHT}; I haven't had any luck. Was originally going the Raspberry Pi Pico route (got that working with Atari) but didn't was to cut up the NES circuit board to map to keyboard buttons. I'd like to made it an actually gamepad vs keyboard. Any help? Thanks