Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Space key  (Read 431 times)
GD
Customers
Community Member
*****
Posts: 367


« on: March 24, 2008, 08:52:18 AM »

Code:
KeyFoward = tv::input->IsKeyPressed ( cTV_KEY_UP );
KeyBack = tv::input->IsKeyPressed ( cTV_KEY_DOWN );
KeyLeft = tv::input->IsKeyPressed ( cTV_KEY_LEFT );
KeyRight = tv::input->IsKeyPressed ( cTV_KEY_RIGHT );
KeyJump = tv::input->IsKeyPressed ( cTV_KEY_SPACE );

KeyJump is false (even when pressed) when 2 other keys are pressed. Hmm but UP+RIGHT+SPACE works. Anyway, if I use cTV_KEY_A (for example) instead of cTV_KEY_SPACE, it works fine.
Logged

tvsm.co.cc - TVSceneManager
SylvainTV
Administrator
Community Member
*****
Posts: 4479


WWW
« Reply #1 on: March 24, 2008, 09:06:09 AM »

I think it's your keyboard..
Some keyboards just can't support more than 2 or 3 keys at the same time.
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
GD
Customers
Community Member
*****
Posts: 367


« Reply #2 on: March 24, 2008, 02:36:40 PM »

damn you're right. I expected more from Logitech.
Logged

tvsm.co.cc - TVSceneManager
Raine
Customers
Community Member
*****
Posts: 1190


« Reply #3 on: March 24, 2008, 04:33:20 PM »

Keyboards aren't what they're used to be Sad
Logged

nadjibus
Community Member
*
Posts: 146

Heavy Dev Process


« Reply #4 on: March 24, 2008, 06:13:09 PM »

Yeah older keyboards are a way better (at least in older keyboards, when multiple keys werent supported at the same time, the pc makes a Beep  Tongue lol)
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks