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.

DarkBASIC Discussion / Keyboard Handling in DB Classic

Author
Message
Swedishchef
9
Years of Service
User Offline
Joined: 13th Jan 2015
Location:
Posted: 13th Jan 2015 11:17
Hiya...

Have installed DB Classic on Win 7 x64 and having no problems. However, DB Classic will not respond to upkey, downkey, leftkey, rightkey and scancode returns 0 when anything is pressed.

I am using the following sample code (which was working). Weirdly enough a similar problem exists when using DB Pro, but AppGameKit seems to be fine.

Any thoughts

Thanks in advance

LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 13th Jan 2015 18:20
The code itself works fine on my comp, and I have Windows 7 X64. Have you had any other issues with the keyboard itself? Loose connection maybe? Try a different USB port?

So many games to code.....so little time.

Login to post a reply

Server time is: 2024-04-18 13:02:35
Your offset time is: 2024-04-18 13:02:35