forked from FOSS/BangleApps
Merge pull request #2845 from thyttan/podcast-addict
podadrem: Send GB wake command only oncemaster
commit
ca124b2d32
|
@ -8,3 +8,5 @@ Addict.
|
||||||
0.07: Remove just the specific listeners to not interfere with Quick Launch
|
0.07: Remove just the specific listeners to not interfere with Quick Launch
|
||||||
when fastloading.
|
when fastloading.
|
||||||
0.08: Issue newline before GB commands (solves issue with console.log and ignored commands)
|
0.08: Issue newline before GB commands (solves issue with console.log and ignored commands)
|
||||||
|
0.09: Don't send the gadgetbridge wake command twice. Once should do since we
|
||||||
|
issue newline before GB commands.
|
||||||
|
|
|
@ -67,7 +67,6 @@ let touchHandler = function(_, xy) {
|
||||||
} else if ((R.x-1<x && x<R.x+len) && (R.y2-len<y && y<R.y2+1)) {
|
} else if ((R.x-1<x && x<R.x+len) && (R.y2-len<y && y<R.y2+1)) {
|
||||||
//Wake
|
//Wake
|
||||||
gadgetbridgeWake();
|
gadgetbridgeWake();
|
||||||
gadgetbridgeWake();
|
|
||||||
} else if ((R.x2-len<x && x<R.x2+1) && (R.y-1<y && y<R.y+len)) {
|
} else if ((R.x2-len<x && x<R.x2+1) && (R.y-1<y && y<R.y+len)) {
|
||||||
//Srch
|
//Srch
|
||||||
Bangle.removeListener("touch", touchHandler);
|
Bangle.removeListener("touch", touchHandler);
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "podadrem",
|
"id": "podadrem",
|
||||||
"name": "Podcast Addict Remote",
|
"name": "Podcast Addict Remote",
|
||||||
"shortName": "PA Remote",
|
"shortName": "PA Remote",
|
||||||
"version": "0.08",
|
"version": "0.09",
|
||||||
"description": "Control Podcast Addict on your android device.",
|
"description": "Control Podcast Addict on your android device.",
|
||||||
"readme": "README.md",
|
"readme": "README.md",
|
||||||
"type": "app",
|
"type": "app",
|
||||||
|
|
Loading…
Reference in New Issue