mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-08-17 23:55:04 +00:00
- Implement generic trackball settings - Refactor T-Deck trackball driver into generic driver at `Drivers/gpio-trackball-module` - Automatically bind/unbind trackball devices with LVGL - Automatically load settings for trackball devices on boot
20 lines
367 B
C++
20 lines
367 B
C++
// SPDX-License-Identifier: Apache-2.0
|
|
#include <tactility/driver.h>
|
|
#include <tactility/module.h>
|
|
|
|
extern "C" {
|
|
|
|
extern Driver gpio_trackball_driver;
|
|
|
|
static Driver* const gpio_trackball_drivers[] = {
|
|
&gpio_trackball_driver,
|
|
nullptr
|
|
};
|
|
|
|
Module gpio_trackball_module = {
|
|
.name = "gpio-trackball",
|
|
.drivers = gpio_trackball_drivers
|
|
};
|
|
|
|
} // extern "C"
|