Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Configure Reicast for Keyboard Input?  (Read 4536 times)

0 Members and 1 Guest are viewing this topic.

DrakeTungsten

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 287
  • Last login:August 14, 2022, 06:36:45 pm
  • I effed with the wrong person!
    • No Quarter - a basic FE, WIP
Configure Reicast for Keyboard Input?
« on: October 24, 2016, 12:38:55 am »
I got the latest Reicast from github, built it in Xubuntu, and so far it's running games I'm interested in. However, I can't find how to remap keyboard controls. By default, the D-Pad is mapped to the arrow keys, and three of the four face buttons are mapped to keyboard keys. Neither the fourth face key nor any of the shoulder buttons appear to have default keyboard bindings. Googling for this issue is fruitless and frustrating. Apparently everybody's using Reicast on Android devices and not PCs. F1 supposedly brings up a configuration menu, but does nothing for me. None of the function keys do anything. I looked at the emu.cfg file but there's no clues in there on how to add entries for button bindings. Anybody have any experience with this?
No Quarter - a basic FE, WIP

DrakeTungsten

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 287
  • Last login:August 14, 2022, 06:36:45 pm
  • I effed with the wrong person!
    • No Quarter - a basic FE, WIP
Re: Configure Reicast for Keyboard Input?
« Reply #1 on: October 28, 2016, 12:27:09 am »
To slightly change my question: I used the reicast-joyconfig program to configure a gamepad. After I configured it, all of its buttons worked in Reicast. I rebooted, and Reicast still remembered my gamepad config. So I hoped I could locate where this configuration was saved, and that might be a clue as to where I can edit KB controls. I ran commands like "locate reicast | grep cfg" and "locate dreamcast | grep cfg", and after coming up with nothing that had been touched since the time I mapped the gamepad, I took out the greps to see if any other file had a name that sounds like it stores configurations, but no dice. I learned that /usr/local/share/reicast/mappings/ holds files for mapping various input devices, but none of them had been touched since I mapped the gamepad. Any ideas where else I can look, or how else I can search, to find out where my gamepad mapping is saved?
No Quarter - a basic FE, WIP

philenotfound

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:May 28, 2019, 10:36:33 am
  • I want to build my own arcade controls!
Re: Configure Reicast for Keyboard Input?
« Reply #2 on: October 28, 2016, 03:42:23 am »
Try emu.cfg in ~/.config/reicast

DrakeTungsten

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 287
  • Last login:August 14, 2022, 06:36:45 pm
  • I effed with the wrong person!
    • No Quarter - a basic FE, WIP
Re: Configure Reicast for Keyboard Input?
« Reply #3 on: October 30, 2016, 03:24:18 pm »
Thanks, but that doesn't seem to be the answer. In emu.cfg, you can specify your input devices, and also a config file to use for them. It seems specifying the input devices is necessary, and works, but when I give it an input device config file to use, my controllers stop working. If I take out the lines telling Reicast which input device config file to use, then my controllers work. The controller config files were even generated by Reicast itself with the command "reicast-joyconfig -f filename". I'll have to find a way to live with not having the emulator customizing my controls.
No Quarter - a basic FE, WIP