The Dink Network

New Dev Files: Key Codes for Dink HD

April 4th 2012, 04:37 AM
dinkdead.gif
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!

April 4th 2012, 06:00 AM
spike.gif
Cool listing, but three different files, really?

A shame this stuff isn't consistent between the different Dink versions.
April 4th 2012, 06:46 AM
dinkdead.gif
"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
April 4th 2012, 07:47 AM
custom_iplaydink.gif
iplaydink
Peasant He/Him Sweden
Hmm.. 
One upside of them being in separate files is that you can open them in your browser though!
April 4th 2012, 03:49 PM
pillbug.gif
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.
April 4th 2012, 11:53 PM
spike.gif
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).
April 5th 2012, 12:46 AM
duck.gif
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.
April 6th 2012, 10:19 PM
pillbug.gif
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.
April 8th 2012, 04:33 PM
dinkdead.gif
If it's to replace the previous three then just upload it as a new file and I'll remove these for you.