Main > Main Forum
Need help adapting Kade Encoder source code
johnnygal2:
Ahh, that's good to hear you got it working.
My mistake about 'shared/generic_main_init' - It is used by the xbox-custom and mame-custom that I have used to build my own hex, so (incorrectly) assumed it was used throughout. It sounds like kade-gen isn't used by the Kade Loader UI then and the mappings are hardcoded in source file?
Anyway, sorry if I sent you down a dead-end.
Cheers.
rCadeGaming:
No worries, it didn't cause me any trouble.
I haven't looked into the loader source code, but I'm pretty sure kade-gen is what it uses when you select "generic." It's just a generic USB keyboard encoder, which I figured would be the best starting point. It has its mappings in mappings.c (same directory).