From d3a4e5b0e664aea57c4cce59631785ff5b61eabf Mon Sep 17 00:00:00 2001 From: Robert Scheibe Date: Thu, 18 Jun 2020 11:37:11 +0200 Subject: initial commit --- README.txt | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 README.txt (limited to 'README.txt') 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; +""" -- cgit v1.2.3