We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2aff07 commit 7f4172aCopy full SHA for 7f4172a
dk-tiny/dk-tiny.ino
@@ -127,7 +127,7 @@ void loop() {
127
blockInput = 1;
128
}
129
130
- if (checkButton(TAButton1) && currentFileNum) {
+ if ((joystickB.press || checkButton(TAButton1)) && currentFileNum) {
131
if (doVideo)
132
playVideo();
133
@@ -561,8 +561,9 @@ void playVideo() {
561
562
debounce1 = 10;
563
564
- if (!debounce2 && checkButton(TAButton2)) {
565
- break;
+ joystickB.getPosition();
+ if (!debounce2 && (checkButton(TAButton2) || joystickB.left)) {
566
+ break; // stop video playback
567
568
if (showBar) {
569
currentFrame = (long)(vidFile.curPosition() / ((96 * 64 * 2) + (1024 * 2)));
0 commit comments