mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 02:45:05 +00:00
- 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
9 lines
480 B
C
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();
|