Tactility/Devices/m5stack-tab5/Source/devices/tab5_keyboard_lvgl_rotation.h
2026-09-20 00:19:11 +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();