Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / dbKey List

Author
Message
Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 30th May 2008 16:02
Can someone give me a complete list or a link to a complete list of the dbKey functions.

(Also i was wondering if their is a place with all the DarkGDK functions. I have looked and not found any. If not I would suggest someone make it because that would really help some people out.)

I know dbRightKey, dbLeftKey, dbDownKey, dbUpKey. but no others.
I personally need the S key.

Thanks
Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 30th May 2008 16:28
Ok, so I found the header file with the functions. It is called DarkSDKInput.h and the only ones possible are Left, Right, Down, Up Control, Shift, Space, Escape and Return. If anyone know how to get input from other keys please post.
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 30th May 2008 18:01
http://code.google.com/p/darkgdkoop/

file in JGC Lib 1.1: jgc_common.h Has those keypresses... plus 35999 more lines of code to learn from and/or use.

Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 30th May 2008 21:26
Sweet, i love your Library, but how do you actually use the new key presses in c++ with your header file? because I'm pretty sure I can't use db(and then your key presses here). I have been looking online to try and find how to use normal c++ key presses, but i have had no luck.
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 30th May 2008 21:30
/code]
if(dbKeyState(Key_Enter)){
//whatever
};


P.S. The DirectX Key definitions work as well in this manner.

Thanx for the kind words about my lib!

jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 30th May 2008 21:30


P.S. The DirectX Key definitions work as well in this manner.

Thanx for the kind words about my lib!

Spooter
16
Years of Service
User Offline
Joined: 27th May 2008
Location:
Posted: 30th May 2008 22:22
Cool, yet again my problem is solved by you. Works Perfectly.

Login to post a reply

Server time is: 2024-09-29 21:25:39
Your offset time is: 2024-09-29 21:25:39