Tactility/Devices/m5stack-tab5/Source/devices/tab5_keyboard_lvgl_rotation.h
Ken Van Hoeylandt 89f1804184
Async keyboard API and device probing support (#654)
- Implemented async keyboard API. Made it backwards compatible.
- `KeyboardApi::read_key` and `keyboard_read_key()` automatically forward to subscribing pollers.
- Implement `Device::probe` for device hot-plug support.
- Implement probing for Tab5 keyboard
- Updated coding style guide
2026-09-20 17:31:07 +02:00

9 lines
480 B
C

#pragma once
// Applies landscape rotation while the keyboard accessory ("keyboard0") is started, restoring the
// prior rotation on stop - unless the user changed it manually since attaching, in which case
// their choice is respected. Start/stop are now driven by the kernel's hotplug poller (see
// tab5_keyboard.cpp's Driver::probe), not polled here. Called from module.cpp's start()/stop().
void tab5_keyboard_lvgl_rotation_start();
void tab5_keyboard_lvgl_rotation_stop();