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.

AppGameKit Classic Chat / Problems with my keyboard, or GetRawkeyState() ?

Author
Message
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 1st May 2017 21:25
Please try this example and see if you can get all WASD combinations to register?
I can get a few x2 and a few x3 combos to register, but not x4 and many of the others.

The example code uses additions and has remmed out bit settings - same outcome.

Where's the problem?

My keyboard?
My code?
AGK?


KISTech
16
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 1st May 2017 21:33
Seems to work fine for me. All combinations in any order add up to 15.
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 1st May 2017 22:44
Thanks for checking. I suspect my keyboard then..
Anyone else?
JosephB
18
Years of Service
User Offline
Joined: 12th Sep 2006
Location:
Posted: 2nd May 2017 10:07
No problem for me as totals with all key variations equal all sums from 1 to 15.
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 2nd May 2017 10:39
Sounds like a keyboard issue. Some keyboards can't do multiple inputs very well.
Signature removed by mod because it's larger than 600x120... please resize and try again.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 2nd May 2017 11:06
There are some combinations of keys that cannot be pressed in combination due to the circuits used in the keyboard hardware. It is a matrix of connections and some cause "short-circuits"
More expensive gaming keyboards have circuits that do not have any conflicts.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Preben
AGK Studio Developer
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 2nd May 2017 14:57
Tried on my Mac mini and got: 15
best regards Preben Eriksen,
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 2nd May 2017 18:42
Just brought a random crappy keyboard back from work and still can't get 15.
My "good" keyboard is a Dinovo Edge, although I wouldn't call it a gaming keyboard.

Thanks for checking.
smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 2nd May 2017 19:32
works fine for me (on my logitech which is just a normal keyboard)

likely doesn't make any difference but have you tried it like this?
life\'s one big game
spec= 2.6ghz, 1gb ram, 512mb gpu, directx 9.0c, dbpro and classic
Lucas Tiridath
AGK Developer
16
Years of Service
User Offline
Joined: 28th Sep 2008
Location: Kings Langley, UK
Posted: 2nd May 2017 19:40
All working for me too. Sounds strange though. I've heard of ghosting before, where you get key presses that don't exist, but not of missing keys!
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 3rd May 2017 14:45
You may find this interesting https://en.wikipedia.org/wiki/Rollover_(key)
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 3rd May 2017 23:21

Login to post a reply

Server time is: 2024-11-24 16:21:55
Your offset time is: 2024-11-24 16:21:55