Keyboard bug

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Post Reply
CyberBob
New Member
Posts: 5
Joined: Thu Jul 17, 2008 3:09 pm

Keyboard bug

Post by CyberBob »

it might be related to this, my other, post.
http://board.zsnes.com/phpBB2/viewtopic.php?t=11749

when i press "C" on keyboard, it just close active dialog in zsnes. so i can not set up anything to do with type "c" in anything in menu.

e.g.
1. try set up path for some file can cause dialog to be closed.
2. trying to type cheat code which has "C" in hex cause cheat code dialog to be closed.
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

I'd say it's related.

I don't understand why you are using the US keyboard layout when you have Japanese support installed. You should be consistant with it since that appears to be the only major difference between the working and non-working systems.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Re: Keyboard bug

Post by grinvader »

Your 'C' key triggers the event(s) of the 'Escape' key. Remap your keys in zsnes or your ime to circumvent that.
Last edited by grinvader on Thu Feb 05, 2009 10:58 pm, edited 1 time in total.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
CyberBob
New Member
Posts: 5
Joined: Thu Jul 17, 2008 3:09 pm

Post by CyberBob »

Deathlike2 wrote:I'd say it's related.

I don't understand why you are using the US keyboard layout when you have Japanese support installed. You should be consistant with it since that appears to be the only major difference between the working and non-working systems.
sorry about very late reply. This is because i have "U.S. layout Keyboard" which is Hardware, when "Japanese Input Support" is Software known as IME.
CyberBob
New Member
Posts: 5
Joined: Thu Jul 17, 2008 3:09 pm

Re: Keyboard bug

Post by CyberBob »

grinvader wrote:Your 'C' key triggers the event(s) of the 'Escape' key. Remap your keys in zsnes or your uim to circumvent that.
How come that can happen? you mean ZSNES has C=ESC by default settings? using default settings by deleting all the setting files still does the bug.
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Re: Keyboard bug

Post by Agozer »

CyberBob wrote:
grinvader wrote:Your 'C' key triggers the event(s) of the 'Escape' key. Remap your keys in zsnes or your ime to circumvent that.
How come that can happen? you mean ZSNES has C=ESC by default settings? using default settings by deleting all the setting files still does the bug.
Most likely your ime messes it up even though ZSNES' keyboard scancodes are hardcoded to match the layout of an U.S. keyboard.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

Various IME use "escape sequences" to feed special characters. Escape sequences all start with, you probably guessed, ESCAPE.

ZSNES catches that escape and closes the active window or gets in/out of the gui, as intended.

Disable your IME while using zsnes, or better, set it to use a raw mode for it (so it doesn't send escape stuffs for normal letters).
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Post Reply