You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### new in v1.0.17
GPIO pins can now be used to send "keyboard commands"
### new in v1.0.16
send previous/next chapter commands to omxplayer (o/i on keyboard)
Copy file name to clipboardExpand all lines: assets/video_looper.ini
+7-1
Original file line number
Diff line number
Diff line change
@@ -125,11 +125,15 @@ keyboard_control = true
125
125
# See: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html for info about the pin numbers
126
126
# the pins are pulled high so you need to connect your switch to the selected pin and Ground (e.g. pin 9) - there is some debouncing done in software
127
127
# The accepted settings are like this: "pinnumber" : videoindex or "pinnumber" : "filename" or "pinnumber" : "-1" or "pinnumber" : "+1"
128
+
# its also possible to send "keyboard commands" like shutdown or pause (see readme for available keyboard commands)
129
+
# the format follows the pygame key list (https://www.pygame.org/docs/ref/key.html) see example below. "keyboard_control" needs to be enabled for this to work
128
130
# to enable GPIO set a gpio_pin_map like in the example below
description='Application to turn your Raspberry Pi into a dedicated looping video playback device, good for art installations, information displays, or just playing cat videos all day.',
0 commit comments