🔒 Locked
DirectInput Problem
Advertisement
Original Post
Quote:
Original post by Cluq
When holding left-key and up-key, the space key is not registrered as being pressed. Is this a common problem and does there exist some work-around?
I know that some keyboards don't allow for more than x keys to be pressed at the same time. Has nothing to do with DirectX and you can't do a thing about it.
But that particular combo should work. I use DirectInput ans it works fine for me.
Greetings.
Generally I just use GetDeviceState to read the state of the keyboard.
But it is the same problem as in Windows: If you for example in notepad hold down the 'up key' and 'left key', you can not make a space. If you hold down the 'up key' and 'right key' there is no problem... So is this a windows error, or is there a work-around?
But please report if this is not a problem on your keyboard... I have tried it on two keyboards on two different computers - same problem...
But it is the same problem as in Windows: If you for example in notepad hold down the 'up key' and 'left key', you can not make a space. If you hold down the 'up key' and 'right key' there is no problem... So is this a windows error, or is there a work-around?
But please report if this is not a problem on your keyboard... I have tried it on two keyboards on two different computers - same problem...
Quote:
Original post by Cluq
Generally I just use GetDeviceState to read the state of the keyboard.
But it is the same problem as in Windows: If you for example in notepad hold down the 'up key' and 'left key', you can not make a space. If you hold down the 'up key' and 'right key' there is no problem... So is this a windows error, or is there a work-around?
But please report if this is not a problem on your keyboard... I have tried it on two keyboards on two different computers - same problem...
Well, i can make a space with up and down pressed. Try switching your keyboard?
EDIT: misread it, tried up-left too and still works fine
Quote:
But please report if this is not a problem on your keyboard..
Not a problem on "Microsoft Wireless Natural Multimedia Keyboard". (damn thats a mouthful)
Quote:
If you for example in notepad hold down the 'up key' and 'left key', you can not make a space.
I can, this must be a problem with your keyboard.
I've just tried this on my laptop keyboard and i can't press space when im holding up+left arrow keys either. In notepad just entered several lines of text, placed text caret in the centre of the block, pressed and held up+left then hammered the space bar, caret moves up+left one line and one place but the space bar does nothing.
Wierd, never heard of it before, everything is fine with other combinations too.
For reference it's a Dell Inspiron 8600 laptop, fairly normal laptop keyboard layout although the "up" and "down" do have an alternative function.
Wierd, never heard of it before, everything is fine with other combinations too.
For reference it's a Dell Inspiron 8600 laptop, fairly normal laptop keyboard layout although the "up" and "down" do have an alternative function.
@LJ_1102
Ah well i guess that says a lot about Dell laptop keyboards :D
Ah well i guess that says a lot about Dell laptop keyboards :D
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement