Question
Long press button, increment fast value
I am designing counter with button click. When long press button countter will increment fast, if normal press to button counter will normal. But when I hold pressed button, there isnt anything. How do we do makes it? When I debug code while I hold button, it dont call button increment function
void Main_MenuView::time_increment()
{
if (g_buzzer_flag)
buzer_on();
time_counter++;
if (time_counter > 500)
time_counter = 500;
Unicode::snprintf(textArea5Buffer, TEXTAREA5_SIZE, "%d", time_counter);
textArea5.invalidate();
}