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.

Author
Message
The Zoq2
14
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 23rd Aug 2011 16:18
Hi, im trying to create a game for the iOS and windows, on the iOS I have 1 joystick and a virtual button... But on the windows PC I only have one mouse . Wich means that I have to use a button on the keyboard as the Virtual button. To my knowlage the only way to do that is by using GetRawKeyPressed / State. But those commands won't work for me... I used GetRawKeyboardExists and it returned 1, yet GetRawKey dosn't work...

Does anyone know what the problem might be?

Srry about my english im from sweeden
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 23rd Aug 2011 16:37
Seems to work here, do you have some code that demonstrates the problem?
The Zoq2
14
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 23rd Aug 2011 17:00
Im guessing this shuld be all that is requierd...



Srry about my english im from sweeden
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 23rd Aug 2011 17:15
Yep that works here, the key you are using is the number "9", is that the intended key?
The Zoq2
14
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 23rd Aug 2011 17:25
Realy, is it changed from DBP?

In that case that's the problem...

Srry about my english im from sweeden
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 23rd Aug 2011 17:56
You can find a list of the key codes in the Help->Guides->Scancodes section.
The Zoq2
14
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 23rd Aug 2011 19:46
Ok, it was the problem, thanks for the help!

Srry about my english im from sweeden

Login to post a reply

Server time is: 2024-04-24 15:48:21
Your offset time is: 2024-04-24 15:48:21