Keyboard keys scrambled in linux console
Moderator: ZSNES Mods
-
- New Member
- Posts: 5
- Joined: Fri Oct 22, 2004 1:40 pm
By linux console,do you mean svgalib? I've often had keyboard issues with it also and couldn't fix it IIRC.Joypads work fine,however but you probably won't want to do that since the problem should be fixable.You might want to check if it happens in other svgalib programs,then you can narrow it down to your system/svgalib or zsnes which will make figuring out the problem a lot easier.Another good alternative is to use a light X server called Xfbdev,which is capable of running on low RAM and should be relatively fast.You'll be able to dodge the keyboard issues with this method but I can't recall exactly how much ram it will require so it might still be too much for your machine.
If the problem lies in zsnes, it could be the version you are using is the old 1.36 version which may/may not have problems not in newer releases.I used to use a cvs version when I ran zsnes with svgalib but I believe svgalib support has been dropped/broken in the latest releases,so you might have to grab an older cvs release.The last one that had support was around november/december 2004 IIRC.
If the problem lies in zsnes, it could be the version you are using is the old 1.36 version which may/may not have problems not in newer releases.I used to use a cvs version when I ran zsnes with svgalib but I believe svgalib support has been dropped/broken in the latest releases,so you might have to grab an older cvs release.The last one that had support was around november/december 2004 IIRC.
Nahoj84 it's actually, a ZSNES linux problem indeed... It happens because he uses (probably, as i don't know much of it) X11 style input... I have fixed it with some code but forgot to put up the solution for Zsnes devs
... I will make that again, someday, maybe... But i will post here if the problem isn't fixed
... BTW, if somebody knows most about this problem, please post here ;D...
**Edit : not actually a ZSNES "LINUX" problem but...


**Edit : not actually a ZSNES "LINUX" problem but...
Last edited by tvtoon on Mon Jun 06, 2005 5:56 am, edited 1 time in total.
[url=http://s131.photobucket.com/albums/p308/tvtoon/Avatares/th_tvlogo.png]GO LOGO, GO![/url]
<Renze> "IRC, where men are men, women are men, and 14 year old girls are FBI agents"
<Renze> "IRC, where men are men, women are men, and 14 year old girls are FBI agents"
-
- Rookie
- Posts: 27
- Joined: Sun Dec 26, 2004 9:07 am
-
- Rookie
- Posts: 27
- Joined: Sun Dec 26, 2004 9:07 am
for the people who can't be bothered to deal with the crap you have to wade through to install DRI for any non-nVidia chipset, I'd say a working framebuffer zsnes would be the best solution.
On my computer, because my CPU does all the work (because my Savage chipset is rather unstable in DRI) even FCE Ultra is painfully slow.
If you have an nVidia card, lucky you.
On my computer, because my CPU does all the work (because my Savage chipset is rather unstable in DRI) even FCE Ultra is painfully slow.
If you have an nVidia card, lucky you.
bztunk i don't want to start some discussion but, X being fast or slow that is not the point we are trying to aim here... The reason for complaining is because it is made for a SDL port (or so is explained in the docs)... Then, just don't make sense using another input method, understand? 
If they put Zsnes to run in PURE X11, instead of getting by the SDL, that is REALLY ok, no problem about that... But, making a SDL port with X11 input, IS weird @.@...

If they put Zsnes to run in PURE X11, instead of getting by the SDL, that is REALLY ok, no problem about that... But, making a SDL port with X11 input, IS weird @.@...
[url=http://s131.photobucket.com/albums/p308/tvtoon/Avatares/th_tvlogo.png]GO LOGO, GO![/url]
<Renze> "IRC, where men are men, women are men, and 14 year old girls are FBI agents"
<Renze> "IRC, where men are men, women are men, and 14 year old girls are FBI agents"
-
- Dark Wind
- Posts: 1271
- Joined: Thu Jul 29, 2004 8:58 pm
- Location: Texas
- Contact:
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
I totally randomly fell on this:
There you go, svgalib users.
Code: Select all
svgakeymap(1) Svgalib User Manual svgakeymap(1)
NAME
svgakeymap - generates keymaps for svgalib
SYNOPSIS
svgakeymap [physical_table [program_table]] > output.keymap
DESCRIPTION
Generates a keymap conversion file for svgalib(7) from two keytable
definitions. Keytables are searched for in /usr/lib/kbd/keytables and
are automatically filtered through gzip(1) if necessary.
If only one keytable is specified, a keymap is generated that performs
no conversion but contains the proper key names for that layout. If no
keytables are specified, the standard US QWERTY keyboard is used.
The generated keymap is sent to the standard output and may be redi-
rected or piped in any creative manner you wish.
FILES
/usr/lib/kbd/keytables/*.map[.gz]
The system keytable files used by loadkeys(1).
BUGS
Can get confused if there is more than one key with a given name or if
names do not match properly between keytables. Keymaps may require man-
ual editing.
AUTHOR
Brion Vibber <brion@pobox.com>
SEE ALSO
libvga.config(5)
README.keymap from the svgalib distribution
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
-
- Rookie
- Posts: 27
- Joined: Sun Dec 26, 2004 9:07 am