Speed up numpad keyboard by disabling transitions animations with compiler flags

Description

My regular buttons are much faster then the action in the numpad keyboard. I like to disable transition animations style theme for at least the keyboard.

I generally like the speed of the non-keyboard regular buttons press release so I don’t really know if I like to change the regular buttons.

What MCU/Processor/Board and compiler are you using?

Atmel ARM32., arm-none-eabi-gcc.exe

What LVGL version are you using?

v7.7.2

What do you want to achieve?

What have you tried so far?

I tried changing lv_conf.h
First I did

#define LV_USE_ANIMATION        0

it changed nothing.

Code to reproduce

In lv_conf.h , I tried putting

#define LV_THEME_MATERIAL_FLAG_NO_TRANSITION
#define  LV_THEME_MATERIAL_FLAG_NO_FOCUS

I get compilation error for lv_theme_material.h (expected identifer before ‘=’ token’

typedef enum {
    LV_THEME_MATERIAL_FLAG_DARK =  0x01,
    LV_THEME_MATERIAL_FLAG_LIGHT = 0x02,
    LV_THEME_MATERIAL_FLAG_NO_TRANSITION  = 0x10,
    LV_THEME_MATERIAL_FLAG_NO_FOCUS  = 0x20,
} lv_theme_material_flag_t;

All I care is to speed up the keyboard. Whatever technique is OK for me, whether it is trough lv_conf.h or anything else.
Thanks, in advance.

I am looking for the same, any feedback?