summaryrefslogtreecommitdiff
path: root/README.txt
diff options
context:
space:
mode:
authorRobert Scheibe <robert.scheibe@mailbox.org>2020-06-18 11:37:11 +0200
committerRobert Scheibe <robert.scheibe@mailbox.org>2020-06-18 11:37:11 +0200
commitd3a4e5b0e664aea57c4cce59631785ff5b61eabf (patch)
treeebfb8bddea356b72410ba9c2ead488deae2dfdf1 /README.txt
initial commit
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/README.txt b/README.txt
new file mode 100644
index 0000000..951a49c
--- /dev/null
+++ b/README.txt
@@ -0,0 +1,28 @@
+= some games for palladiumpi with gamepad input =
+
+pong and tetris from pygames and https://www.101computing.net/pong-tutorial-using-pygame-getting-started/ adapted
+to a palladium-pi game device (Palladium TV 500 with black and white screen and Raspbian Raspbery Pi 1 with composite output)
+
+joystick-input.py used for starting games from the menu and in-game controller
+only the first gamepad is used by python inputs library (https://inputs.readthedocs.io/en/latest/user/intro.html)
+
+select -> ALT+F4
+start -> WIN key
+A -> Return
+B -> Escape
+A+B -> toggle gamepad as OS input (for using the gamepad inside games or toggling the lxdmenu)
+
+the script is started using this joystick-input.desktop file in /etc/xdg/autostart
+the Path variable is important for python scripts
+
+"""
+[Desktop Entry]
+Type=Application
+Name=joystick-input
+Comment=Joystick input
+NoDisplay=true
+Exec=/home/pi/src/joystick/joystick-input.py
+Path=/home/pi/src/joystick
+Terminal=false
+Categories=Application;
+"""