Replace nav buttons with a virtual joystick pad

This commit is contained in:
Armin 2026-10-09 17:58:07 +02:00
commit c7ebd3ed4d
6 changed files with 418 additions and 76 deletions

View file

@ -240,8 +240,6 @@ void LcdDisplay::timerCallback() { repaint(); }
void LcdDisplay::mouseDown (const juce::MouseEvent& e)
{
const int row = juce::jlimit (0, kRows - 1,
(int) (e.position.y / (float) (getHeight() / kRows)));
if (onPressed)
onPressed (row);
(void)e;
// Clicking disabled - navigate with joystick keys only.
}