Feature #1227
openNeed keyboard support for volume up/volume down.
40%
Description
The autokiosk system is playing audio with rather low volume. If a keyboard were connected then the arrow up/down keys could be used to adjust the volume of the video playback. Support for this is already in videofe for touchscreens. It just needs to be extended to support keyboards.
If this works then all touchscreen features can be extended to keyboards because most, if not all, of them are simply system calls to the dbuscontrol.sh script.
Note: This may already work because key presses on non-kiosk playback already handles fast-forward and next-video even though those keypress evevents are not handled by key_press() in videofe.c. Try "+" for volume up and - for volume down.
Updated by Hammel 4 days ago
- % Done changed from 0 to 40
The "+" and "-" keys didn't appear to work, but then I found the RCA plug was pushed too far into the Pi so audio wasn't playing correctly. I need to retry with the plug properly inserted to see if these keys have any affect. I don't think they do, as these are supposed to map to omxplayer but I'm not sure they are. Some of the other omxplayer keyboard bindings do work, so it's not clear yet. I'll have to retest to verify.
VideoFE has been updated to support key presses to bump audio up and down via dbuscontrol.sh so I can try that if the omxplayer key bindings don't work. To do that I need to copy the existing VideoFe out of the way before uploading the new version, and this can't be done unless the Pi is connected to the network. So it will have to brought to the test station and plugged into a TV.