Trackball rewrite (#600)
- 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
This commit is contained in:
committed by
GitHub
parent
de6fc3b346
commit
c729e8340f
@@ -0,0 +1,19 @@
|
||||
// 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"
|
||||
Reference in New Issue
Block a user