It is currently Wed Aug 21, 2019 3:49 am


All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: What keycode format is used in daphne?
PostPosted: Thu Sep 29, 2005 7:11 am 
Grizzled Veteran
Grizzled Veteran

Joined: Thu Feb 21, 2002 1:00 am
Posts: 247
I want to integrate daphne into the j5 viewer for the controls.dat project.

http://fe.donkeyfly.com

The keymappings are all out in the open in the dainput.ini and easy to parse. My only problem is that I don't recognize the scancode/keycode/whatever format that daphne uses.

Could one of you developer types help me with a link to a chart or something?


Thanks,

HAC


Top
Offline Profile  
 
 Post subject:
PostPosted: Thu Sep 29, 2005 4:08 pm 
DAPHNE Creator
DAPHNE Creator

Joined: Sat Jan 20, 2001 1:00 am
Posts: 2120
Location: Salt Lake City,Utah, USA
The keycodes are from SDL. I believe they are supposed to be universal across international keyboards.

Here is the chart of key names:

http://www.libsdl.org/cgi/docwiki.cgi/SDLKey

and here is the actual value of each key name:

http://www.libsdl.org/cgi/cvsweb.cgi/SD ... web-markup


Top
Offline Profile  
 
 Post subject:
PostPosted: Thu Sep 29, 2005 9:22 pm 
Grizzled Veteran
Grizzled Veteran

Joined: Thu Feb 21, 2002 1:00 am
Posts: 247
That helps a lot, thanks.

So "standard" keys are ascii then and keys traditionally not covered by ascii are a custom range.


Top
Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net