mirror of
https://github.com/workinghard/jslisten.git
synced 2025-12-13 19:02:09 +00:00
Update README.md
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
## Overview
|
||||
|
||||
This program listen in the background for gamepad inputs. If a special button combination is getting pressed
|
||||
the provided command line will be invoked. It runs a command once defined buttons were pressed.
|
||||
the provided command line will be invoked. It runs a command once defined buttons were pressed. It was developed for Raspbian and PS3 wireless controller but should work everywhere with udev and [joystick](https://sourceforge.net/projects/linuxconsole/) support.
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -20,9 +20,9 @@ After couple of month I found this great [RetroPie](https://retropie.org.uk) pro
|
||||
|
||||
But one thing was an issue. I wanted to use the same hardware and don't miss my system (raspbian). Dual boot is not cool and takes too long. So basically what i needed is some kind of trigger to end any X11 processes and start EmulationStation ... and of course vice versa.
|
||||
|
||||
In my configuration Kodi runs as default. Media center is still the primary usage. But the idea was to take the PS3 controller press some button combination and the EmulationStation will apear. After I played enough, just press this buttons again and media center will apear back and I can put the PS3 controller back.
|
||||
|
||||
In my configuration Kodi runs as default. Media center is still the primary usage. But the idea was to take the PS3 controller press some button combination and the EmulationStation will apear. After I played enough, just press this buttons again and media center will apear and I can put the PS3 controller back.
|
||||
|
||||
After searching the internet, I found nothing really interesting. Kodi addon will not work because gamepad support is still missing. EmulationStation addon might work but than ... Kodi solution will be missing. So I had to go one level up to the OS. But even here I found nothing really easy to setup or working. So I decided to write this program. It runs as a daemon in the background and listening in nonblocking mode to /dev/input/js* devices. To make it hotplug capable, it's monitoring the udev signals if no device is present.
|
||||
|
||||
|
||||
## Installation
|
||||
@@ -38,5 +38,5 @@ Following example for Raspbian. Should work for many other distributions almost
|
||||
|
||||
## Known limitations
|
||||
|
||||
* If you have many different /dev/inputs, you might adjust this program to search for special one.
|
||||
* If you have many different /dev/inputs, you might need to adjust this program to search for special one.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user