Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : CMM2: Joystick / Games controller library
Page 2 of 2 | |||||
Author | Message | ||||
capsikin Guru Joined: 30/06/2020 Location: AustraliaPosts: 341 |
Excellent! |
||||
capsikin Guru Joined: 30/06/2020 Location: AustraliaPosts: 341 |
Here's the new version, pretty much untested. cmm2-controllers-version-0.4.zip The auto detection library file controllers.inc now supports 4 buttons on a Wii Classic Controller or on an arcade joystick. This library file is usb-kbd-mc3.inc Even the 1 player library files should now support the player argument. |
||||
tdididit Newbie Joined: 17/09/2020 Location: HungaryPosts: 1 |
Here are id codes of Wii controllers used in nunchuk64 project: const uint8_t ID_MAP[MAX_IDs][6] PROGMEM = { {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}, // ID_Unknown {0x00, 0x00, 0xa4, 0x20, 0x00, 0x00}, // ID_Nunchuck {0x00, 0x00, 0xa4, 0x20, 0x01, 0x01}, // ID_Wii_Classic {0x01, 0x00, 0xa4, 0x20, 0x01, 0x01}, // ID_Wii_Classic_Pro {0x01, 0x00, 0xa4, 0x20, 0x00, 0x01}, // ID_NES_Classic_Mini_Clone_Encrypted {0x00, 0x00, 0xa4, 0x20, 0x00, 0x01} // ID_8Bitdo_SF30 }; Full repo can be found here: https://github.com/djtulan/nunchuk64 |
||||
Page 2 of 2 |
Print this page |