Do some bugfixes on presentor app.
parent
fc50f3d14f
commit
4db81c95ef
|
|
@ -7,3 +7,4 @@
|
||||||
0.07: Begin work on presentation parts.
|
0.07: Begin work on presentation parts.
|
||||||
0.08: Presentation parts!
|
0.08: Presentation parts!
|
||||||
0.09: Code cleanup and windows 11 support.
|
0.09: Code cleanup and windows 11 support.
|
||||||
|
0.10: Bugfixes.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Presentor
|
# Presentor
|
||||||
Use your Bangle to present!
|
Use your Bangle to present!
|
||||||
This app basically turns your BangleJS watch into a presntor tool.
|
This app basically turns your BangleJS watch into a presentor tool.
|
||||||
Very useful for presentations or when you are teaching a lesson.
|
Very useful for presentations or when you are teaching a lesson.
|
||||||
|
|
||||||
## Features:
|
## Features:
|
||||||
|
|
@ -27,6 +27,7 @@ Select Bangle.js > Remove Device
|
||||||
|
|
||||||
7. Fill the subjects, times in minutes (seconds optional) and Notes (optional)
|
7. Fill the subjects, times in minutes (seconds optional) and Notes (optional)
|
||||||
The subject/times are on your watch displayed in a tall font, the notes in a very small font
|
The subject/times are on your watch displayed in a tall font, the notes in a very small font
|
||||||
|
Note: If you don't fill in any notes you can still save and the presentor will be for input only and not give any timing details.
|
||||||
|
|
||||||
8. Select "Save" and exit the pop-up window
|
8. Select "Save" and exit the pop-up window
|
||||||
|
|
||||||
|
|
@ -40,27 +41,26 @@ The subject/times are on your watch displayed in a tall font, the notes in a ver
|
||||||
If "Try connecting your device again." is shown, switch PC/laptop bluetooth off and on again
|
If "Try connecting your device again." is shown, switch PC/laptop bluetooth off and on again
|
||||||
|
|
||||||
13. Start your presentation.
|
13. Start your presentation.
|
||||||
Swipe up to start timer for first subject
|
- Swipe up to start timer for first subject
|
||||||
Swipe down to pause
|
- Swipe down to pause
|
||||||
Push button to switch between mouse mode and timer/presentation mode
|
- Push button to switch between mouse mode and timer/presentation mode
|
||||||
|
|
||||||
14. Timer function
|
14. Timer function
|
||||||
Next subject: Swipe up
|
- Next subject: Swipe up
|
||||||
Previous subject: Swipe down
|
- Previous subject: Swipe down
|
||||||
Pause timer: Swipe down to begin
|
- Pause timer: Swipe down to begin
|
||||||
|
|
||||||
15. Presentation function
|
15. Presentation function
|
||||||
Next presentation slide: Swipe right or just touch
|
- Next presentation slide: Swipe right or just touch
|
||||||
Previous presentation slide: Swipe left
|
- Previous presentation slide: Swipe left
|
||||||
|
|
||||||
16. Mouse mode
|
16. Mouse mode
|
||||||
Swipe to move pointer over the presentation screen
|
- Swipe to move pointer over the presentation screen
|
||||||
Note: sometimes "Holding" shows in Bangle screen (see Holding mode)
|
|
||||||
|
|
||||||
17. Holding mode
|
17. Holding mode
|
||||||
In timer/presentation mode, hold one finger on your Bangle screen, point your arm foreward
|
In timer/presentation mode, hold one finger on your Bangle screen, point your arm foreward
|
||||||
Mouse up/down on screen: Tilt your hand up/down
|
- Mouse up/down on screen: Tilt your hand up/down
|
||||||
Mouse left/right on screen: Rotate your hand counterclockwise/clockwise
|
- Mouse left/right on screen: Rotate your hand counterclockwise/clockwise
|
||||||
|
|
||||||
18. End of presentation?
|
18. End of presentation?
|
||||||
Switch bluetooth PC/laptop off or see step 1
|
Switch bluetooth PC/laptop off or see step 1
|
||||||
|
|
|
||||||
|
|
@ -272,7 +272,7 @@ function startHolding() {
|
||||||
Bangle.setLCDPower(1);
|
Bangle.setLCDPower(1);
|
||||||
}
|
}
|
||||||
function stopHolding() {
|
function stopHolding() {
|
||||||
clearTimeout(startHolding);
|
clearTimeout(timeoutHolding);
|
||||||
if (holding) {
|
if (holding) {
|
||||||
bt.tapKey(bt.KEY.F10);
|
bt.tapKey(bt.KEY.F10);
|
||||||
homePitch = 0;
|
homePitch = 0;
|
||||||
|
|
@ -282,9 +282,10 @@ function stopHolding() {
|
||||||
Bangle.removeListener('accel', handleAcc);
|
Bangle.removeListener('accel', handleAcc);
|
||||||
Bangle.buzz();
|
Bangle.buzz();
|
||||||
drawMain();
|
drawMain();
|
||||||
} else {
|
}
|
||||||
timeoutId = setTimeout(drawMain, 1000);
|
// else {
|
||||||
}
|
// timeoutId = setTimeout(drawMain, 1000);
|
||||||
|
// }
|
||||||
clearTimeout(timeoutHolding);
|
clearTimeout(timeoutHolding);
|
||||||
timeoutHolding = -1;
|
timeoutHolding = -1;
|
||||||
}
|
}
|
||||||
|
|
@ -345,10 +346,12 @@ Bangle.on('drag', function(e) {
|
||||||
// E.showMessage('left');
|
// E.showMessage('left');
|
||||||
//kb.tap(kb.KEY.LEFT, 0);
|
//kb.tap(kb.KEY.LEFT, 0);
|
||||||
bt.scroll(1);
|
bt.scroll(1);
|
||||||
} else if(lastx==0 && lasty==0 && holding == false){
|
}
|
||||||
// E.showMessage('press');
|
// Todo re-implement? Seems bit buggy or unnecessary for now.
|
||||||
clickMouse(MouseButton.LEFT);
|
// else if(lastx==0 && lasty==0 && holding == false){
|
||||||
}
|
// // E.showMessage('press');
|
||||||
|
// bt.clickButton(bt.BUTTON.LEFT);
|
||||||
|
// }
|
||||||
stopHolding();
|
stopHolding();
|
||||||
lastx = 0;
|
lastx = 0;
|
||||||
lasty = 0;
|
lasty = 0;
|
||||||
|
|
@ -368,9 +371,15 @@ function onBtn() {
|
||||||
stopHolding();
|
stopHolding();
|
||||||
drawMain();
|
drawMain();
|
||||||
} else {
|
} else {
|
||||||
|
stopHolding();
|
||||||
clearToSend = true;
|
clearToSend = true;
|
||||||
trackPadMode = true;
|
trackPadMode = true;
|
||||||
E.showMessage('Mouse');
|
E.showMessage('Mouse');
|
||||||
|
// Also skip drawing thingy for now.
|
||||||
|
if (timeoutDraw != -1) {
|
||||||
|
clearTimeout(timeoutDraw);
|
||||||
|
timeoutDraw = -1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Bangle.buzz();
|
Bangle.buzz();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "presentor",
|
"id": "presentor",
|
||||||
"name": "Presentor",
|
"name": "Presentor",
|
||||||
"version": "0.09",
|
"version": "0.10",
|
||||||
"description": "Use your Bangle to present!",
|
"description": "Use your Bangle to present!",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"type": "app",
|
"type": "app",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue