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 / [BUG] While holding down the UP and LEFT arrow keys, SPACEBAR does not register

Author
Message
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 17th Mar 2019 04:15
Works when i hold down UP/RIGHT. Other combinations do not work

Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 17th Mar 2019 06:49 Edited at: 17th Mar 2019 06:53
nor does mine but i'm not convinced that it's an AppGameKit issue where i remember similar when DBPro was more prevalent.

i can't find the thread (tho i did find this reference) but it was to do with how some (most?) keyboards are "wired" and their limitations.

from that:
Quote: "...to reduce cost and design complexity, most computer keyboards do not isolate all keys in this way. Instead, they use a matrix of key switches, without any isolation diodes, that assumes that only a limited number of keys will be held down at any given time. With these keyboards, pressing as few as three keys can cause ghosting effects, although care is taken when laying out the matrix arrangement that this does not happen for common modifier key combinations"


otherwise, i think it's a part of why games allow for players to re-map keys to controls (beyond the users preference).

fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 17th Mar 2019 06:53
@virtual nomad
I think you may have hit the nail on the head
I cant remember the problem being an issue with my gaming keyboard
but on this cheapy I report the same issue as blink
fubar
kragoth74
6
Years of Service
User Offline
Joined: 3rd May 2017
Location:
Posted: 17th Mar 2019 06:55
Works fine for me, even when holding the four arrow keys at the same time and pressing the space bar.

Could be some hardware limitation with your keyboard, take a look at this: https://gaming.stackexchange.com/questions/6669/how-do-i-remove-the-limit-on-pc-keyboard-button-presses

Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 17th Mar 2019 07:45
guess i didn't have to go all the way "back" to dbpro

PSY
Developer
7
Years of Service
User Offline
Joined: 3rd Jul 2016
Location: Laniakea Supercluster
Posted: 17th Mar 2019 13:50
You guys nailed it.

Basically, the Rollover ability of your keyboard seems to be very limited. That's the case with all cheap keyboards.

Here's the wiki on how it works and why it appears:
https://en.wikipedia.org/wiki/Rollover_(key)#Key_jamming_and_ghosting


PSY LABS Games
Coders don't die, they just gosub without return
Santman
12
Years of Service
User Offline
Joined: 15th Sep 2011
Location: Inverness
Posted: 17th Mar 2019 14:49 Edited at: 17th Mar 2019 14:56
DELETED>

Ironically, I found my issue after posting the code. Lol.
Rick Nasher
6
Years of Service
User Offline
Joined: 25th Jul 2017
Location: Amsterdam
Posted: 17th Mar 2019 19:03
Actually this *should* work unless on a bad keyboard. I know it does in Blitz3d.
But I've noticed some difficulties in registering the Spacebar press while holding down Shift + Cursorkeys, but I think it's probably the result of my bad coding rather then a bug.
Will have to investigate some more.

Rick Nasher
6
Years of Service
User Offline
Joined: 25th Jul 2017
Location: Amsterdam
Posted: 17th Mar 2019 19:03 Edited at: 17th Mar 2019 23:42
[removed double post]

Login to post a reply

Server time is: 2024-03-29 12:53:37
Your offset time is: 2024-03-29 12:53:37