I have the following problem with the VICE emulator.
I don't have a joystick, so I have to use my laptop's keyboard to
emulate the joystick.
But using the keyboard as a joystick doesn't work. The only key that
works is the space bar (it seems to be the fire button).
Does anybody know this problem? Is there a fix available?
I compiled the emulator (version 1.22) by myself on an openSuSE 10.3 x86_64.
Best regards,
Alex
Well, I don't have a VICE.INI, but I have a .vice/vicerc in my home
directory.
Well, the settings of the Joy* and KeySet* lines are the following:
alex@butthead:~/.vice> grep Joy vicerc
JoyDevice1=0
JoyDevice2=2
alex@butthead:~/.vice> grep Key vicerc
KeymapSymFile="x11_sym.vkm"
KeymapPosFile="x11_pos.vkm"
KeymapSymDeFile="x11_sym.vkm"
KeymapIndex=0
KeySet1NorthWest=0
KeySet1North=0
KeySet1NorthEast=0
KeySet1East=0
KeySet1SouthEast=0
KeySet1South=0
KeySet1SouthWest=0
KeySet1West=0
KeySet1Fire=0
KeySet2NorthWest=0
KeySet2North=0
KeySet2NorthEast=0
KeySet2East=0
KeySet2SouthEast=0
KeySet2South=0
KeySet2SouthWest=0
KeySet2West=0
KeySet2Fire=0
alex@butthead:~/.vice>
Best regards,
Alex
Sorry; of course, files are named differently under Unix than
Windows... <:-)
> Well, the settings of the Joy* and KeySet* lines are the following:
It shows that no keys are defined at all as all keyboard codes are
zeros. For a test, define some _other_ keys (e.g. the WASD block) for
joystick emulation inside VICE, exit it and check these codes in
vicerc again; do they change into non-zero values? Now change them
back to the keys you want; do the keyboard codes change back to zeros?
(Perhaps, this is a known problem documented at http://vicekb.trikaliotis.net
. [...] Hmmm, doesn't seems so...)
No problem :-)
>> Well, the settings of the Joy* and KeySet* lines are the following:
>
> It shows that no keys are defined at all as all keyboard codes are
> zeros. For a test, define some _other_ keys (e.g. the WASD block) for
> joystick emulation inside VICE, exit it and check these codes in
> vicerc again; do they change into non-zero values? Now change them
> back to the keys you want; do the keyboard codes change back to zeros?
>
Hmm, I couldn't find anything to change the keyset, so I installed
WinVICE in my VMWare W2K, defined a keyset and copied the lines from
VICE.ini to the configuration file under Linux.
The KeySet* lines are now the following:
KeySet1NorthWest=20
KeySet1North=21
KeySet1NorthEast=22
KeySet1East=36
KeySet1SouthEast=49
KeySet1South=48
KeySet1SouthWest=47
KeySet1West=34
KeySet1Fire=29
KeySet2NorthWest=0
KeySet2North=0
KeySet2NorthEast=0
KeySet2East=0
KeySet2SouthEast=0
KeySet2South=0
KeySet2SouthWest=0
KeySet2West=0
KeySet2Fire=0
JoyDevice1=0
JoyDevice2=2
It doesn't work :-(
> (Perhaps, this is a known problem documented at http://vicekb.trikaliotis.net
> . [...] Hmmm, doesn't seems so...)
I'll check this knowledge base. Maybe I can find any hints.
Best regards,
Alex
VICE 1.22 for Linux has a menu entry Options->Joystick settings->Define
keysets. Use that.
P.S. swapping between Windows' vice.ini and Linux's vicerc won't work.
The numbers associated to each key are different
thanks for your feedback.
> VICE 1.22 for Linux has a menu entry Options->Joystick settings->Define
> keysets. Use that.
Hmmm... maybe this is my problem? Well, I double checked the menu, but I
can't find "Define keysets" within the menu "Joystick settings" in the
Linux version of VICE... :-(
Could it be that the reason is my german environment?
Well, I'll try to use the option "--disable-nls" for the ./configure
script and then, I'll compile it again.
Best regards,
Alex
Any ideas?
Best regards,
Alex
If you run configure with the --enable-gnomeui parameter, you will get
a Gnome interface. You can then find the joystick settings in the
menu "Settings->Joystick settings", where you can choose some predefined
sets or customize your own.
--
Lars Haugseth
"If anyone disagrees with anything I say, I am quite prepared not only to
retract it, but also to deny under oath that I ever said it." -Tom Lehrer
> If you run configure with the --enable-gnomeui parameter, you will get
> a Gnome interface. You can then find the joystick settings in the
> menu "Settings->Joystick settings", where you can choose some predefined
> sets or customize your own.
>
running configure with the --enable-gnomeui parameter fixed the problem :-)
Now I have the missing menu button :-)
The keymap definition works fine, also the joystick emulation is working :-)
Thank you very much & best regards,
Alex