Configuring gamepad input

If you're having problems with Snes9x, or think you've found a bug, this is the place to be.
Post Reply
F. Delente
Snes9x White Belt
Posts: 3
Joined: Sat Dec 04, 2010 7:36 am

Configuring gamepad input

Post 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
User avatar
BearOso
Official GTK/Linux Porter/Dev
Posts: 460
Joined: Tue Oct 02, 2007 12:50 am

Post 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.
F. Delente
Snes9x White Belt
Posts: 3
Joined: Sat Dec 04, 2010 7:36 am

Post 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.
User avatar
BearOso
Official GTK/Linux Porter/Dev
Posts: 460
Joined: Tue Oct 02, 2007 12:50 am

Post 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.
F. Delente
Snes9x White Belt
Posts: 3
Joined: Sat Dec 04, 2010 7:36 am

Post by F. Delente »

Duh :^)

I'm not very used to GUI :^)

Thanks!
Post Reply