Page 1 of 1

Configuring gamepad input

Posted: Sat Dec 04, 2010 7:43 am
by F. Delente
Hello.

I'm using snes9x 1.52 under linux and I'd like to use a gamepad for input.

I have tried my gamepad with zsnes, it works ok.

But with snes9x, even though I get

Code: Select all

$ snes9x rom.smc.gz -v3 -paddev1 /dev/input/js0 -displaykeypress

Snes9x 1.52 for unix
Reading config file /home/fab/.snes9x/snes9x.conf.
Sound buffer size: 12800 (3200 samples)
Port 1: Pad #1. Port 2: <none>. 
No ROM file header found.
Map_HiROMMap
"ROM" [checksum ok] HiROM, 32Mbits, ROM, NTSC, SRAM:0Kbits, ID:, CRC32:
Using Mega World Thrustmaster dual analog 3.2 (/dev/input/js0) as joystick1
no input is recorded. I tried with -displaykeypress but nothing displays when I press the buttons.

Is there any more configuring to do?

Thanks.

--
F. Delente

Posted: Sat Dec 04, 2010 8:15 pm
by BearOso
You'll need to look for the snes9x.conf.default file that came with Snes9x, edit the button mappings in it, and move it to your $HOME/.snes9x folder.

In most cases with linux (if your computer is <=10 years old) you're better off using the GTK+ version.

Posted: Sat Dec 04, 2010 10:55 pm
by F. Delente
In most cases with linux (if your computer is <=10 years old) you're better off using the GTK+ version.
I agree, it seems to work better... except that in the unix version, I can save the state with shift+F1 and restore it with F1, while in the GTK version I must click on the menu the on the sub-menu entry... I find it much more inconvenient!

Is there a way to define shortcuts to the GUI in the GTK version?

Thanks.

Posted: Sun Dec 05, 2010 12:41 am
by BearOso
F. Delente wrote:
In most cases with linux (if your computer is <=10 years old) you're better off using the GTK+ version.
I agree, it seems to work better... except that in the unix version, I can save the state with shift+F1 and restore it with F1, while in the GTK version I must click on the menu the on the sub-menu entry... I find it much more inconvenient!

Is there a way to define shortcuts to the GUI in the GTK version?

Thanks.
Yes. In the menu click Options->Preferences, then in the new window Shortcuts->Save States.

Posted: Sun Dec 05, 2010 8:20 am
by F. Delente
Duh :^)

I'm not very used to GUI :^)

Thanks!