Would like to disable long press
#2
Quote:How to change the control scheme

`input_touch_wheel.cpp` or `input_touch_dpad.cpp` is the relevant file, depending on which of those control schemes you've selected.

`input_touch_wheel.cpp`, for example, has this bit:
Code:
      centre_("centre", actions::select(), {}, {}, {}),
      up_("up", {}, {}, actions::scrollToTop(), actions::scrollToTop()),
      right_("right", {}),
      down_("down",
            {},
            {},
            actions::scrollToBottom(),
            actions::scrollToBottom()),
      left_("left", {}, {}, actions::goBack(), {}),

Those are the action bindings. Each one has (in order) a name, then actions for tap, double-tap, long press, and repeat (another tap <100ms after the previous press). `{}` means "do nothing".

So to disable long press actions, you'd replace the third action on the ones that bother you with `{}`, e.g.:

Code:
up_("up", {}, {}, {}, actions::scrollToTop()),

----

Quote:How to build(?) the firmware and then flash it on to my tangara

https://codeberg.org/cool-tech-zone/tang...UILDING.md is the documentation on this.

Happy to answer any more specific questions you have as you go through it (I am probably now the world's leading expert on tangara input driver hacking outside of the actual tangara developers).
  Reply


Messages In This Thread
Would like to disable long press - by spindle - 2025-01-31, 05:40 PM
RE: Would like to disable long press - by emily - 2025-01-31, 07:48 PM
RE: Would like to disable long press - by spindle - 2025-01-31, 09:00 PM

Forum Jump: