If anyone has any experience with Unified Remote, I could use a little help.

I’m in the process of making a button board for ATS/ETS2 Truck sim games.

I have everything working except for one button.

I am trying to make the button dual function. I press it once and it holds down a key, press it again and it releases.

I can get it to hold the button down fine, but I’m having some trouble getting it to use a secondary function to release the key. I can just hit another button on the board and it stops which is fine, but not really as graceful as I would like.

I did read through their GitHub documentation but I don’t see any info on specifically what I’m trying to do.

  • skizzles@lemmy.worldOP
    link
    fedilink
    arrow-up
    6
    ·
    20 days ago

    I figured it out.

    I was already headed the right direction by using something like this…

    <button text=“Hold Enter” ontap=“enterhold” ondoubletap=“enterrelease” />

    But for whatever reason it seems to ignore a double tap to release it, maybe I’m just too slow on tapping lol. I changed it to onhold=“enterrelease” and it works like intended.