Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Nonstandard key interference

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Baconlabs
PURPLE IS MANLY




Joined: 15 Mar 2009
Posts: 335
Location: Tennessee

PostPosted: Thu Dec 03, 2009 7:38 pm    Post subject: Nonstandard key interference Reply with quote

I can't remember if I've addressed this issue before, so pardon me if this is a repost.

The following keys on my laptop, which are not standard to most computers, cause an interference in custom.exe:
-Volume Adjustment Keys (volUp, volDown, Mute)
-Brightness Adjustment Keys (Up and Down)
-A Nonstandard Function Key (holding it changes a range of keyboard keys into a number pad, among other things)

The effects on custom vary slightly, but it generally starts to enter in some specific number rapidly and repeatedly for as long as the program remains open, which causes two main problems:
-Any number-based list will persistently highlight the highest-numbered item
-Any text editing is impossible because numbers are being entered so quickly

And basically I need to restart custom every time I inadvertently hit one of the above keys. Thought I'd let you all know.
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Thu Dec 03, 2009 8:58 pm    Post subject: Reply with quote

There seems to be a lot of reports of laptop key problems lately (eg. '' . bug_title('785') . '').

My guess is that it's a bug in FreeBasic's keyboard handling, and it doesn't really give us an alternative.

I've been begging people who report this to test alternative graphics backends (where the keyboard code lives), but noone ever seems to have. Here are nightly builds:

Try gfx_sdl:
http://hamsterrepublic.com/ohrrpgce/nightly/ohrrpgce-wip-sdl-sdl.zip
(I've fixed all the remaining visible bugs in gfx_sdl since the last time I asked someone to try it)

Or gfx_alleg:
http://hamsterrepublic.com/ohrrpgce/nightly/ohrrpgce-wip-alleg-sdl.zip
(which has no known bugs at all)
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Baconlabs
PURPLE IS MANLY




Joined: 15 Mar 2009
Posts: 335
Location: Tennessee

PostPosted: Fri Dec 04, 2009 6:16 am    Post subject: Reply with quote

Sadly neither of these work perfectly.

GFX_SDL
The volume keys now just enter a single letter, like d, e, or f, and it's no longer a problem there. The brightness keys still interfere though.
Also the palette's a bit different, but maybe I'm just seeing things. I used Spooky Test as a guinea pig.

GFX_ALLEG
This one does not work at all. Well, sort of. Sometimes Windows feels finicky and gives the entire screen a big refresh because some program isn't compatible with the standard color scheme.
That happened here, and I don't even know what was going on. The cursor for selecting a game file kept jumping to the second or third item, and when I tried selecting something or even just hitting escape to get out, the program seemed to shuffle rapidly between the current screen and the one it was trying to get to.
Also I didn't test any of my laptop keys on this one.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group