Avatar for Sebastian

Sebastian

Member since Nov 2020 • Last active Aug 2021
  • 8 conversations
  • 38 comments

Most recent activity

  • in Bangle.js
    Avatar for Sebastian

    Ok, I see what you mean. That makes sense. Thanks Gordon!

  • in Bangle.js
    Avatar for Sebastian

    Ok thanks, the source code makes it much clearer.

    I'm a little confused still when you say "you can just create a new Bangle.setUI and now every app will use that". Isn't that Bangle.setUI local to the app that is currently running? So if I specify a callback, that function would have to be defined in the same app or clock? Or can other apps use a callback function that is defined in another app?

  • in Bangle.js
    Avatar for Sebastian

    I noticed that Gordon changed a number of clock apps to use Bangle.setUI("clock") instead of setWatch() to open the launcher (incl. my own). But looking at the documentation I fail to understand what that function does. When I test the change it behaves as intended (i.e. BTN2 still opens the launcher), but I don't know how. If "clock" is the callback, why does it open the launcher? How does it know to use BTN2?

    Can anyone explain what that function actually does?

  • in Bangle.js
    Avatar for Sebastian

    I am using the Plugable one on Linux with good results.

  • in Bangle.js
    Avatar for Sebastian

    I'm not using the app at the moment, and I have not tried any other settings.

  • in Bangle.js
    Avatar for Sebastian

    Does the 'key stuck on' problem happen more often than just the missed key?

    I don't think so - I would say the repeated key is just more noticeable than an initial keypress missed, but I could be wrong.

    What exactly happens when an HID report is sent? Is there some sort of handshake or request/response with the receiver to make sure the packet has been received? Or is it just fired out in the hope the paired device receives it? From your comment I seem to understand there is a difference between the callback being triggered and the report actually being sent out / received?

  • in Bangle.js
    Avatar for Sebastian

    What Gordon says about packets not being sent makes sense to me - when a keystroke is missed it's the "press" that is not sent, and when it's keystrokes repeating it is the "release" missing. That is also confirmed by the fact that it can usually be stopped by pressing the button again once or twice.

    I also have the impression it depends on distance between the Bangle and the BT dongle. As soon as I get 2 or 3 m between the watch and the dongle it seems there is slightly more latency, and the misses/repeats become more frequent. @Franzo: Do you have a lot of distance between your watch and the BT receiver when this happens?

    I can try with a Windows machine and see if there's any difference.

  • in General
    Avatar for Sebastian

    That's cool stuff.

    Out of curiosity, would that also work with other types of chat or websites, or is there something Slack-specific in that code?

Actions