From 7173ea14ac11ddf7cc006465c656a6db58879935 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Thu, 30 Apr 2026 00:07:28 +0200 Subject: [PATCH] gui: add OBJECT_OPTS_TIMER_BIT to buttons, decrease repeat time. --- avr/modules/lcd2/gui/base/button.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/avr/modules/lcd2/gui/base/button.asm b/avr/modules/lcd2/gui/base/button.asm index 4b21a6e..63d0fca 100644 --- a/avr/modules/lcd2/gui/base/button.asm +++ b/avr/modules/lcd2/gui/base/button.asm @@ -22,7 +22,7 @@ .equ BUTTON_REPEAT_TIMER_WAITREPEAT = 10 -.equ BUTTON_REPEAT_TIMER_REPEAT = 7 +.equ BUTTON_REPEAT_TIMER_REPEAT = 3 ; button modes .equ BUTTON_MODE_NORMAL = 0 @@ -88,9 +88,9 @@ Button_Init: ; setup button data std Y+BUTTON_OFFS_MODE, r20 - ; set input opts + ; set input and timer opts ldd r16, Y+OBJECT_OFFS_OPTS - sbr r16, (1<