Skip to content

Instantly share code, notes, and snippets.

@dudleydes
Created Sep 1, 2017
Embed
What would you like to do?
Pegasus Setup
sudo /home/pi/joymap/loadmap /home/pi/joymap/pegasus.map & /opt/retropie/supplementary/pegasus-fe/pegasus-fe #auto
#!/bin/bash
sudo killall loadmap
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
Found translation for `en`
Found theme: Flixnet (`/home/pi/.config/pegasus-frontend/themes/pegasus-theme-flixnet-master/`)
Found theme: Pegasus Grid [built-in] (`:/themes/pegasus-grid/`)
Theme set to 'Flixnet'
ES2: found `/home/pi/.emulationstation/es_systems.cfg`
ES2: found `/home/pi/.emulationstation/gamelists/arcade/gamelist.xml`
ES2: found `/home/pi/.emulationstation/gamelists/arcade/gamelist.xml`
ES2: found `/home/pi/RetroPie/roms/intellivision/gamelist.xml`
ES2: found `/home/pi/RetroPie/roms/snes/gamelist.xml`
ES2: found `/home/pi/RetroPie/retropiemenu/gamelist.xml`
Data files loaded in 200ms
29 games found
Running `quit` scripts...
[1/1] /home/pi/.config/pegasus-frontend/scripts/quit/kill-joymap.sh
Closing Pegasus, goodbye!
evdevkeyboard: Could not read from input device (No such device)
Gamepad: Could not read from input device (No such device)
evdevmouse: Could not read from input device (No such device)
evdevkeyboard: Failed to query led states
Cannot open keyboard input device '/dev/input/event14': No such file or directory
Failed to open keyboard device /dev/input/event14
Gamepad: Cannot open input device /dev/input/event15 (No such file or directory)
Cannot open mouse input device /dev/input/event13 (No such fi
# Mapping for Pegasus Frontend
# Navigation --> D-Pad
button vendor=0x054c product=0x0268 src=4 target=kbd button="up"
button vendor=0x054c product=0x0268 src=5 target=kbd button="right"
button vendor=0x054c product=0x0268 src=6 target=kbd button="down"
button vendor=0x054c product=0x0268 src=7 target=kbd button="left"
# Enter / Select or OK --> Cross
button vendor=0x054c product=0x0268 src=14 target=kbd button="enter"
# Esc / Cancel or Back --> Circle
button vendor=0x054c product=0x0268 src=13 target=kbd button="esc"
# CRTL / Filter Menu --> Square
button vendor=0x054c product=0x0268 src=15 target=kbd button="rightctrl"
# Q and E / Next and Previous platform --> L1 and R1
button vendor=0x054c product=0x0268 src=10 target=kbd button="q"
button vendor=0x054c product=0x0268 src=11 target=kbd button="e"
#!/bin/bash
sudo /home/pi/joymap/loadmap /home/pi/joymap/pegasus.map & /opt/retropie/supplementary/pegasus-fe/pegasus-fe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment