aboutsummaryrefslogtreecommitdiff
path: root/scripts/style_api_gen.py
diff options
context:
space:
mode:
authorGabor Kiss-Vamosi <kisvegabor@gmail.com>2024-03-19 03:10:28 +0100
committerGitHub <noreply@github.com>2024-03-19 10:10:28 +0800
commit54f9003722d199fb070a432de0b04a168c4427f6 (patch)
tree5d4c5395573ca318c823a24fcfcb9b166cc8a840 /scripts/style_api_gen.py
parent1cb3e219a971c6f80a692928c00d91c61cfb5f84 (diff)
downloadlvgl-54f9003722d199fb070a432de0b04a168c4427f6.tar.gz
lvgl-54f9003722d199fb070a432de0b04a168c4427f6.zip
feat(indev) Add crown support to pointer input device (#5057)
Diffstat (limited to 'scripts/style_api_gen.py')
-rwxr-xr-xscripts/style_api_gen.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/style_api_gen.py b/scripts/style_api_gen.py
index f08d550af..fdf11a83f 100755
--- a/scripts/style_api_gen.py
+++ b/scripts/style_api_gen.py
@@ -393,6 +393,10 @@ props = [
'style_type': 'ptr', 'var_type': 'const lv_image_dsc_t *', 'default':'`NULL`', 'inherited': 0, 'layout': 0, 'ext_draw': 0,
'dsc': "If set a layer will be created for the widget and the layer will be masked with this A8 bitmap mask."},
+{'name': 'ROTARY_SENSITIVITY',
+ 'style_type': 'num', 'var_type': 'uint32_t', 'default':'`256`', 'inherited': 1, 'layout': 0, 'ext_draw': 0,
+ 'dsc': "Adjust the sensitivity for rotary encoders in 1/256 unit. It means, 128: slow down the rotary to half, 512: speeds up to double, 256: no change"},
+
{'section': 'Flex', 'dsc':'Flex layout properties.', 'guard':'LV_USE_FLEX'},