Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
batocera [2023/10/27 21:45] – angelegt gerald | batocera [2024/02/29 13:36] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 4: | Zeile 4: | ||
Batocera root user password is linux | Batocera root user password is linux | ||
+ | |||
+ | |||
+ | |||
+ | ===== Eigene Knöpfe für Sound oder andere Aktionen ===== | ||
+ | |||
+ | |||
+ | Quelle((https:// | ||
+ | |||
+ | |||
+ | < | ||
+ | cp / | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Identifying key names ==== | ||
+ | |||
+ | |||
+ | Open a terminal and type the following command: | ||
+ | |||
+ | < | ||
+ | |||
+ | Then select your intended controller and press the button on your controller. The detected input will then be displayed like so: | ||
+ | |||
+ | < | ||
+ | |||
+ | Look for the key name in parenthesis and its value when depressed after the “code” number. In this example, the key name would be KEY_SYSRQ and its value would be 0. | ||
+ | < | ||
+ | cat multimedia_keys.conf | ||
+ | KEY_VOLUMEUP 1 batocera-audio setSystemVolume +5 | ||
+ | KEY_VOLUMEUP 2 batocera-audio setSystemVolume +5 | ||
+ | KEY_VOLUMEDOWN 1 batocera-audio setSystemVolume -5 | ||
+ | KEY_VOLUMEDOWN 2 batocera-audio setSystemVolume -5 | ||
+ | KEY_MUTE | ||
+ | KEY_POWER | ||
+ | KEY_POWER | ||
+ | # display some information on X displays | ||
+ | KEY_F2 | ||
+ | KEY_F10+KEY_LEFTCTRL+KEY_LEFTALT 1 / | ||
+ | KEY_F11+KEY_LEFTCTRL+KEY_LEFTALT 1 chvt 1 | ||
+ | KEY_LEFTMETA | ||
+ | KEY_SYSRQ | ||
+ | BTN_PINKIE 1 batocera-audio setSystemVolume -5 | ||
+ | BTN_TOP2 1 batocera-audio setSystemVolume +5 | ||
+ | </ | ||
+ | |||
+ | ===== Hardware ===== | ||
+ | |||
+ | |||
+ | ==== Joystick ==== | ||
+ | |||
+ | |||
+ | === Anlog Joystick on this cheap USB-encoder === | ||
+ | |||
+ | |||
+ | Quelle((https:// | ||
+ | |||
+ | |||
+ | |||
+ | When I discovered these cheap CY-822A / USB Joystick X1 - Game Control Board USB Joystick Encoders on Ebay and Amazon I was puzzled by their description and construction. | ||
+ | |||
+ | A lot of people like to make their own input devices and controllers and these are a cheap way to get started - but just switches are not always what you want. | ||
+ | |||
+ | Despite the Analogue description its a very Digital device. | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | |||
+ | Bessere Möglichkeit mit dem gleichen CY-822A: Brücken, damit das Ding direkt in den Analogmodus bootet: | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||