LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-14-2017, 10:07 PM   #1
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Rep: Reputation: Disabled
How to get gamepad support in nestopia 1.46


I'm on slackware, so I'm running an ancient version of nestopia - 1.46 - that I got out of sbopkg. I have a Logitech F310 gamepad. I want to use it in nestopia. I grabbed xboxdrv from sbopkg and have it running. It is interpreting my inputs from the gamepad into the terminal as I enter them. However, the button mapping in nestopia is really really strange to me. Is there a way to change it? Or is there another way to get my gamepad to work in nestopia?
 
Old 03-14-2017, 10:39 PM   #2
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
OK. I've found a ~/.nestopia/input.conf file. It looks like I can alter the button mapping there. I am having great difficulty in discovering the strings my gamepad sends.

Code:
root@caitlyn:~# xboxdrv
xboxdrv 0.8.5 - http://pingus.seul.org/~grumbel/xboxdrv/ 
Copyright © 2008-2011 Ingo Ruhnke <grumbel@gmx.de> 
Licensed under GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 
This program comes with ABSOLUTELY NO WARRANTY. 
This is free software, and you are welcome to redistribute it under certain conditions; see the 
file COPYING for details. 

Controller:        Logitech F310
Vendor/Product:    046d:c21d
USB Path:          003:013
Controller Type:   Xbox360

Your Xbox/Xbox360 controller should now be available as:
  /dev/input/js0
  /dev/input/event14

Press Ctrl-c to quit, use '--silent' to suppress the event output
X1:   128 Y1:  1413  X2:   128 Y2:   128  du:0 dd:0 dl:0 dr:0  back:0 guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:1  LT:  0 RT:  0
X1:   128 Y1:  1413  X2:   128 Y2:   128  du:0 dd:0 dl:0 dr:0  back:0 guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
X1:   128 Y1:  1413  X2:   128 Y2:   128  du:1 dd:0 dl:0 dr:0  back:0 guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
X1:   128 Y1:  1413  X2:   128 Y2:   128  du:0 dd:0 dl:0 dr:0  back:0 guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
X1:   128 Y1:  1413  X2:   128 Y2:   128  du:1 dd:0 dl:0 dr:0  back:0 guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
X1:   128 Y1:  1413  X2:   128 Y2:   128  du:0 dd:0 dl:0 dr:0  back:0 guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
X1:   128 Y1:  1413  X2:   128 Y2:   128  du:0 dd:0 dl:0 dr:1  back:0 guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
X1:   128 Y1:  1413  X2:   128 Y2:   128  du:0 dd:0 dl:0 dr:0  back:0 guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
X1:   128 Y1:  1413  X2:   128 Y2:   128  du:0 dd:1 dl:0 dr:0  back:0 guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
X1:   128 Y1:  1413  X2:   128 Y2:   128  du:0 dd:0 dl:0 dr:0  back:0 guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
X1:   128 Y1:  1413  X2:   128 Y2:   128  du:0 dd:0 dl:1 dr:0  back:0 guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
X1:   128 Y1:  1413  X2:   128 Y2:   128  du:0 dd:0 dl:0 dr:0  back:0 guide:0 start:0  TL:0 TR:0  A:0 B:0 X:0 Y:0  LB:0 RB:0  LT:  0 RT:  0
This is from when I last started xboxdrv and pressed buttons on the D-Pad.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I need help running Nestopia on Raspbian ibz096 Linux - Games 1 06-05-2015 06:28 AM
LXer: Gamepad API Support is coming soon for GNOME! LXer Syndicated Linux News 0 06-20-2012 02:11 AM
[SOLVED] Best inexpensive linux compatible gamepad or Best pcsx* compatible gamepad? indubitableness Linux - Hardware 6 09-27-2009 06:49 AM
Having a problem building Nestopia 1.4.0 from source swalker23 Linux - Newbie 8 10-02-2008 06:41 PM
convert usb gamepad to wireless gamepad schneidz Linux - Hardware 1 06-12-2008 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration