Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LVGL] Add LV_INDEV_TYPE_KEYPAD and LV_INDEV_TYPE_ENCODER in simulator #545

Closed
bentron2000 opened this issue Sep 20, 2024 · 1 comment
Closed
Assignees
Milestone

Comments

@bentron2000
Copy link

It would be very useful to be able to use the computer keyboard and mouse scroll wheel as input devices when building in studio, so that interfaces can be interacted with during simulation before deployment to a device.

Keyboard would simulate LV_INDEV_TYPE_KEYPAD, and
Scrollwheel would simulate LV_INDEV_TYPE_ENCODER

I imagine that to make the encoder simulation properly useful within the simulator would require the 'group' functionality to be available also. #229

Original discussion on discord:
https://discordapp.com/channels/511131497801973761/853620020411629598/1286300188738064456

@mvladic mvladic added this to the M23 milestone Sep 20, 2024
@mvladic mvladic changed the title [EEZ-STUDIO] Add LV_INDEV_TYPE_KEYPAD and LV_INDEV_TYPE_ENCODER in simulator [LVGL] Add LV_INDEV_TYPE_KEYPAD and LV_INDEV_TYPE_ENCODER in simulator Sep 23, 2024
mvladic added a commit that referenced this issue Sep 25, 2024
@mvladic
Copy link
Contributor

mvladic commented Sep 25, 2024

This feature is now implemented.

This feature is also related to the feature #229. You can now define groups of widgets and you can select one group to be used for the encoder in the simulator and one group to be used for the keyboard in the simulator:

image

@mvladic mvladic closed this as completed Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants