New Dev Files: Key Codes for Dink HD
Here's some useful little files for developers looking to make their D-Mods work with Dink HD: Talon65442's made a list of all the keycodes for Windows and Android (plus a list of all keys common to both).
Edit: Above files replaced with this!
Edit: Above files replaced with this!
Cool listing, but three different files, really?
A shame this stuff isn't consistent between the different Dink versions.
A shame this stuff isn't consistent between the different Dink versions.
"three different files, really?"
I know, but I guess it's useful for those who only have Windows, or Android, or... No wait. This is made for developers, who should be aiming at any platform really.
Perhaps it would be better zipped up into one file after all... Perhaps do that instead Talon, unless you really want it this way
I know, but I guess it's useful for those who only have Windows, or Android, or... No wait. This is made for developers, who should be aiming at any platform really.
Perhaps it would be better zipped up into one file after all... Perhaps do that instead Talon, unless you really want it this way
One upside of them being in separate files is that you can open them in your browser though!
Thanks for the input guys!
Totally with you that it should be consistent, somewhere along the line lowercase p-z (for Windows at least) got shifted to codes 51-61.
Found that about 30 minutes after I upped the Windows keys. Went to load a keybind script into my Android tablet and behold, no working key (also found out that main game won't accept scripts, only D-Mods). So made the other two files and upped them.
If I had a Mac, iDevice, and Palm, I'd add those codes as well.
So do you guys want a new list combining all codes or should I just stick with updating the common ones?
Basic txt file, Excel spreadsheet, Word file with tables, html file?
Does anyone with any of the systems I don't have want a zipped file with the "say("you pressed key-1",1);
" key-###.c files? I know it only takes about 3-5 minutes to make them if you can batch edit text, but...
*edit*
On second thought, going email Seth and see if he meant for those codes to be changed like that, maybe he'll want to clean up the source for HD. Still let me know if you would like a single file with all devices keycodes, maybe with the common ones all listed at the top.
Totally with you that it should be consistent, somewhere along the line lowercase p-z (for Windows at least) got shifted to codes 51-61.
Found that about 30 minutes after I upped the Windows keys. Went to load a keybind script into my Android tablet and behold, no working key (also found out that main game won't accept scripts, only D-Mods). So made the other two files and upped them.
If I had a Mac, iDevice, and Palm, I'd add those codes as well.
So do you guys want a new list combining all codes or should I just stick with updating the common ones?
Basic txt file, Excel spreadsheet, Word file with tables, html file?
Does anyone with any of the systems I don't have want a zipped file with the "say("you pressed key-1",1);
" key-###.c files? I know it only takes about 3-5 minutes to make them if you can batch edit text, but...
*edit*
On second thought, going email Seth and see if he meant for those codes to be changed like that, maybe he'll want to clean up the source for HD. Still let me know if you would like a single file with all devices keycodes, maybe with the common ones all listed at the top.
Excel spreadsheet, Word file with tables, html file?
Something like this sounds neat to me. Would be cool if it included the keycodes for v1.08 too, for easy comparison between all versions (FreeDink also has (some?) differences from v1.08, but no one's documented those yet).
Something like this sounds neat to me. Would be cool if it included the keycodes for v1.08 too, for easy comparison between all versions (FreeDink also has (some?) differences from v1.08, but no one's documented those yet).
If you do a table, an Excel spreadsheet or a comma separated text file would be the most flexible for people. Then they could sort the list however they wanted.
Excel spreadsheet is ready with 1.08, FreeDink 1.08, HD Windows 1.4.7 and HD Android 1.5.0 key codes.
Sparrowhawk, any special instructions I need to follow for upping the file so it can replace the 3 previous or should I just up it as a new file and from your end can link others to it?
Yeah, lot of keys removed for FreeDink.
Sparrowhawk, any special instructions I need to follow for upping the file so it can replace the 3 previous or should I just up it as a new file and from your end can link others to it?
Yeah, lot of keys removed for FreeDink.
If it's to replace the previous three then just upload it as a new file and I'll remove these for you.