WIP merge cyclically dependent components into one big component

custom
jacqueline 12 months ago
parent a231fd1c8a
commit 1573a8c4cd
  1. 1
      lib/lvgl/env_support/cmake/esp.cmake
  2. 3
      lib/lvgl/lv_conf.h
  3. 9
      src/app_console/CMakeLists.txt
  4. 14
      src/audio/CMakeLists.txt
  5. 10
      src/battery/CMakeLists.txt
  6. 22
      src/database/CMakeLists.txt
  7. 9
      src/dev_console/CMakeLists.txt
  8. 4
      src/drivers/CMakeLists.txt
  9. 1
      src/drivers/bluetooth.cpp
  10. 1
      src/drivers/include/nvs.hpp
  11. 3
      src/drivers/nvs.cpp
  12. 9
      src/events/CMakeLists.txt
  13. 13
      src/input/CMakeLists.txt
  14. 13
      src/lua/CMakeLists.txt
  15. 5
      src/main/CMakeLists.txt
  16. 11
      src/system_fsm/CMakeLists.txt
  17. 23
      src/tangara/CMakeLists.txt
  18. 32
      src/tangara/app_console/app_console.cpp
  19. 0
      src/tangara/app_console/app_console.hpp
  20. 0
      src/tangara/audio/README.md
  21. 0
      src/tangara/audio/audio_converter.cpp
  22. 0
      src/tangara/audio/audio_converter.hpp
  23. 7
      src/tangara/audio/audio_decoder.cpp
  24. 0
      src/tangara/audio/audio_decoder.hpp
  25. 0
      src/tangara/audio/audio_events.hpp
  26. 0
      src/tangara/audio/audio_fsm.cpp
  27. 0
      src/tangara/audio/audio_fsm.hpp
  28. 0
      src/tangara/audio/audio_sink.hpp
  29. 0
      src/tangara/audio/audio_source.cpp
  30. 0
      src/tangara/audio/audio_source.hpp
  31. 0
      src/tangara/audio/bt_audio_output.cpp
  32. 0
      src/tangara/audio/bt_audio_output.hpp
  33. 0
      src/tangara/audio/fatfs_audio_input.cpp
  34. 0
      src/tangara/audio/fatfs_audio_input.hpp
  35. 0
      src/tangara/audio/fatfs_source.cpp
  36. 0
      src/tangara/audio/fatfs_source.hpp
  37. 0
      src/tangara/audio/i2s_audio_output.cpp
  38. 0
      src/tangara/audio/i2s_audio_output.hpp
  39. 0
      src/tangara/audio/readahead_source.cpp
  40. 0
      src/tangara/audio/readahead_source.hpp
  41. 0
      src/tangara/audio/resample.cpp
  42. 0
      src/tangara/audio/resample.hpp
  43. 0
      src/tangara/audio/test/CMakeLists.txt
  44. 0
      src/tangara/audio/track_queue.cpp
  45. 0
      src/tangara/audio/track_queue.hpp
  46. 0
      src/tangara/battery/battery.cpp
  47. 0
      src/tangara/battery/battery.hpp
  48. 0
      src/tangara/database/database.cpp
  49. 0
      src/tangara/database/database.hpp
  50. 0
      src/tangara/database/db_events.hpp
  51. 0
      src/tangara/database/env_esp.cpp
  52. 0
      src/tangara/database/env_esp.hpp
  53. 0
      src/tangara/database/file_gatherer.cpp
  54. 0
      src/tangara/database/file_gatherer.hpp
  55. 0
      src/tangara/database/future_fetcher.hpp
  56. 0
      src/tangara/database/index.cpp
  57. 0
      src/tangara/database/index.hpp
  58. 0
      src/tangara/database/records.cpp
  59. 0
      src/tangara/database/records.hpp
  60. 0
      src/tangara/database/tag_parser.cpp
  61. 0
      src/tangara/database/tag_parser.hpp
  62. 0
      src/tangara/database/test/CMakeLists.txt
  63. 0
      src/tangara/database/test/test_database.cpp
  64. 0
      src/tangara/database/test/test_records.cpp
  65. 0
      src/tangara/database/track.cpp
  66. 0
      src/tangara/database/track.hpp
  67. 0
      src/tangara/dev_console/console.cpp
  68. 0
      src/tangara/dev_console/console.hpp
  69. 2
      src/tangara/events/event_queue.cpp
  70. 0
      src/tangara/events/event_queue.hpp
  71. 0
      src/tangara/input/device_factory.cpp
  72. 0
      src/tangara/input/device_factory.hpp
  73. 0
      src/tangara/input/feedback_device.hpp
  74. 2
      src/tangara/input/feedback_haptics.cpp
  75. 0
      src/tangara/input/feedback_haptics.hpp
  76. 0
      src/tangara/input/input_device.hpp
  77. 8
      src/tangara/input/input_hook.cpp
  78. 0
      src/tangara/input/input_hook.hpp
  79. 6
      src/tangara/input/input_hook_actions.cpp
  80. 0
      src/tangara/input/input_hook_actions.hpp
  81. 0
      src/tangara/input/input_nav_buttons.cpp
  82. 0
      src/tangara/input/input_nav_buttons.hpp
  83. 11
      src/tangara/input/input_touch_dpad.cpp
  84. 0
      src/tangara/input/input_touch_dpad.hpp
  85. 4
      src/tangara/input/input_touch_wheel.cpp
  86. 0
      src/tangara/input/input_touch_wheel.hpp
  87. 4
      src/tangara/input/input_trigger.cpp
  88. 0
      src/tangara/input/input_trigger.hpp
  89. 0
      src/tangara/input/input_volume_buttons.cpp
  90. 0
      src/tangara/input/input_volume_buttons.hpp
  91. 24
      src/tangara/input/lvgl_input_driver.cpp
  92. 0
      src/tangara/input/lvgl_input_driver.hpp
  93. 0
      src/tangara/lua/bridge.cpp
  94. 0
      src/tangara/lua/bridge.hpp
  95. 0
      src/tangara/lua/lua_controls.cpp
  96. 0
      src/tangara/lua/lua_controls.hpp
  97. 0
      src/tangara/lua/lua_database.cpp
  98. 0
      src/tangara/lua/lua_database.hpp
  99. 0
      src/tangara/lua/lua_queue.cpp
  100. 0
      src/tangara/lua/lua_queue.hpp
  101. Some files were not shown because too many files have changed in this diff Show More

@ -27,7 +27,6 @@ else()
${LVGL_ROOT_DIR} ${LVGL_ROOT_DIR}
${LVGL_ROOT_DIR}/src ${LVGL_ROOT_DIR}/src
${LVGL_ROOT_DIR}/../ ${LVGL_ROOT_DIR}/../
$ENV{PROJ_PATH}/src/ui/include/
REQUIRES esp_timer) REQUIRES esp_timer)
target_compile_definitions(${COMPONENT_LIB} PUBLIC "-DLV_CONF_INCLUDE_SIMPLE") target_compile_definitions(${COMPONENT_LIB} PUBLIC "-DLV_CONF_INCLUDE_SIMPLE")

@ -87,7 +87,8 @@
*It removes the need to manually update the tick with `lv_tick_inc()`)*/ *It removes the need to manually update the tick with `lv_tick_inc()`)*/
#define LV_TICK_CUSTOM 1 #define LV_TICK_CUSTOM 1
#if LV_TICK_CUSTOM #if LV_TICK_CUSTOM
#define LV_TICK_CUSTOM_INCLUDE "ui_tick.hpp" /*Header for the system time function*/ #define LV_TICK_CUSTOM_INCLUDE "esp_timer.h"
#define LV_TICK_CUSTOM_SYS_TIME_EXPR (esp_timer_get_time() / 1000)
#endif /*LV_TICK_CUSTOM*/ #endif /*LV_TICK_CUSTOM*/
/*Default Dot Per Inch. Used to initialize default sizes such as widgets sized, style paddings. /*Default Dot Per Inch. Used to initialize default sizes such as widgets sized, style paddings.

@ -1,9 +0,0 @@
# Copyright 2023 jacqueline <me@jacqueline.id.au>
#
# SPDX-License-Identifier: GPL-3.0-only
idf_component_register(
SRCS "app_console.cpp"
INCLUDE_DIRS "include"
REQUIRES "dev_console" "events" "database")
target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})

@ -1,14 +0,0 @@
# Copyright 2023 jacqueline <me@jacqueline.id.au>
#
# SPDX-License-Identifier: GPL-3.0-only
idf_component_register(
SRCS "audio_decoder.cpp" "fatfs_audio_input.cpp" "i2s_audio_output.cpp"
"track_queue.cpp" "audio_fsm.cpp" "audio_converter.cpp" "resample.cpp"
"fatfs_source.cpp" "bt_audio_output.cpp" "readahead_source.cpp"
"audio_source.cpp"
INCLUDE_DIRS "include"
REQUIRES "codecs" "drivers" "cbor" "result" "tasks" "memory" "tinyfsm"
"database" "system_fsm" "speexdsp" "millershuffle" "libcppbor")
target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})

@ -1,10 +0,0 @@
# Copyright 2023 jacqueline <me@jacqueline.id.au>
#
# SPDX-License-Identifier: GPL-3.0-only
idf_component_register(
SRCS "battery.cpp"
INCLUDE_DIRS "include"
REQUIRES "drivers" "events")
target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})

@ -1,22 +0,0 @@
# Copyright 2023 jacqueline <me@jacqueline.id.au>
#
# SPDX-License-Identifier: GPL-3.0-only
idf_component_register(
SRCS "env_esp.cpp" "database.cpp" "track.cpp" "records.cpp"
"file_gatherer.cpp" "tag_parser.cpp" "index.cpp"
INCLUDE_DIRS "include"
REQUIRES "result" "esp_psram" "fatfs" "libtags" "komihash" "cbor"
"tasks" "memory" "util" "tinyfsm" "events" "opusfile" "libcppbor")
target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})
set(LEVELDB_BUILD_TESTS OFF)
set(LEVELDB_BUILD_BENCHMARKS OFF)
set(LEVELDB_INSTALL OFF)
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
add_subdirectory($ENV{PROJ_PATH}/lib/leveldb ${CMAKE_CURRENT_BINARY_DIR}/leveldb)
target_link_libraries(${COMPONENT_LIB} PUBLIC leveldb)

@ -1,9 +0,0 @@
# Copyright 2023 jacqueline <me@jacqueline.id.au>
#
# SPDX-License-Identifier: GPL-3.0-only
idf_component_register(
SRCS "console.cpp"
INCLUDE_DIRS "include"
REQUIRES "console" "memory")
target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})

@ -7,6 +7,6 @@ idf_component_register(
"i2c.cpp" "bluetooth.cpp" "spi.cpp" "display.cpp" "display_init.cpp" "i2c.cpp" "bluetooth.cpp" "spi.cpp" "display.cpp" "display_init.cpp"
"samd.cpp" "wm8523.cpp" "nvs.cpp" "haptics.cpp" "spiffs.cpp" "samd.cpp" "wm8523.cpp" "nvs.cpp" "haptics.cpp" "spiffs.cpp"
INCLUDE_DIRS "include" INCLUDE_DIRS "include"
REQUIRES "esp_adc" "fatfs" "result" "lvgl" "tasks" "nvs_flash" "spiffs" REQUIRES "esp_adc" "fatfs" "result" "lvgl" "nvs_flash" "spiffs" "bt"
"bt" "tinyfsm" "util") "tasks" "tinyfsm" "util" "libcppbor")
target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS}) target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})

@ -25,7 +25,6 @@
#include "freertos/portmacro.h" #include "freertos/portmacro.h"
#include "freertos/projdefs.h" #include "freertos/projdefs.h"
#include "freertos/timers.h" #include "freertos/timers.h"
#include "sample.hpp"
#include "tinyfsm/include/tinyfsm.hpp" #include "tinyfsm/include/tinyfsm.hpp"
#include "bluetooth_types.hpp" #include "bluetooth_types.hpp"

@ -15,7 +15,6 @@
#include "bluetooth_types.hpp" #include "bluetooth_types.hpp"
#include "lru_cache.hpp" #include "lru_cache.hpp"
#include "tasks.hpp"
namespace drivers { namespace drivers {

@ -5,8 +5,6 @@
*/ */
#include "nvs.hpp" #include "nvs.hpp"
#include <stdint.h>
#include <sys/_stdint.h>
#include <cstdint> #include <cstdint>
#include <memory> #include <memory>
@ -18,7 +16,6 @@
#include "esp_log.h" #include "esp_log.h"
#include "nvs.h" #include "nvs.h"
#include "nvs_flash.h" #include "nvs_flash.h"
#include "tasks.hpp"
#include "wm8523.hpp" #include "wm8523.hpp"
namespace drivers { namespace drivers {

@ -1,9 +0,0 @@
# Copyright 2023 jacqueline <me@jacqueline.id.au>
#
# SPDX-License-Identifier: GPL-3.0-only
idf_component_register(
SRCS "event_queue.cpp"
INCLUDE_DIRS "include"
REQUIRES "tinyfsm" "ui")
target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})

@ -1,13 +0,0 @@
# Copyright 2023 jacqueline <me@jacqueline.id.au>
#
# SPDX-License-Identifier: GPL-3.0-only
idf_component_register(
SRCS "input_touch_wheel.cpp" "input_touch_dpad.cpp" "input_trigger.cpp"
"input_volume_buttons.cpp" "lvgl_input_driver.cpp" "feedback_haptics.cpp"
"device_factory.cpp" "input_nav_buttons.cpp" "input_hook.cpp"
"input_hook_actions.cpp"
INCLUDE_DIRS "include"
REQUIRES "drivers" "lvgl" "events" "system_fsm")
target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})

@ -1,13 +0,0 @@
# Copyright 2023 jacqueline <me@jacqueline.id.au>
#
# SPDX-License-Identifier: GPL-3.0-only
idf_component_register(
SRCS "lua_theme.cpp" "lua_thread.cpp" "bridge.cpp" "property.cpp" "lua_database.cpp"
"lua_queue.cpp" "lua_version.cpp" "lua_theme.cpp" "lua_controls.cpp" "registry.cpp"
"lua_screen.cpp"
INCLUDE_DIRS "include"
REQUIRES "drivers" "lvgl" "tinyfsm" "events" "system_fsm" "database"
"esp_timer" "battery" "esp-idf-lua" "luavgl" "lua-linenoise" "lua-term"
"esp_app_format")
target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})

@ -2,8 +2,5 @@
# #
# SPDX-License-Identifier: GPL-3.0-only # SPDX-License-Identifier: GPL-3.0-only
idf_component_register( idf_component_register(SRCS "main.cpp" INCLUDE_DIRS "." REQUIRES "tangara")
SRCS "main.cpp"
INCLUDE_DIRS "."
REQUIRES "audio" "ui" "system_fsm" "events")
target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS}) target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})

@ -1,11 +0,0 @@
# Copyright 2023 jacqueline <me@jacqueline.id.au>
#
# SPDX-License-Identifier: GPL-3.0-only
idf_component_register(
SRCS "system_fsm.cpp" "running.cpp" "booting.cpp" "idle.cpp"
"service_locator.cpp"
INCLUDE_DIRS "include"
REQUIRES "tinyfsm" "drivers" "database" "ui" "result" "events" "audio"
"app_console" "battery" "locale")
target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})

@ -0,0 +1,23 @@
# Copyright 2024 jacqueline <me@jacqueline.id.au>
#
# SPDX-License-Identifier: GPL-3.0-only
idf_component_register(
SRC_DIRS "app_console" "audio" "battery" "database" "dev_console" "events"
"input" "lua" "system_fsm" "ui"
INCLUDE_DIRS "." "app_console" "audio" "battery" "database" "dev_console"
"events" "input" "lua" "system_fsm" "ui"
REQUIRES "codecs" "drivers" "locale" "memory" "tasks" "util"
"tinyfsm" "lvgl" "esp_timer" "luavgl" "esp_app_format" "libcppbor" "libtags"
"komihash" "result" "esp_psram" "fatfs" "millershuffle" "speexdsp" "console"
"esp-idf-lua" "lua-linenoise" "lua-term")
target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})
set(LEVELDB_BUILD_TESTS OFF)
set(LEVELDB_BUILD_BENCHMARKS OFF)
set(LEVELDB_INSTALL OFF)
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
add_subdirectory($ENV{PROJ_PATH}/lib/leveldb ${CMAKE_CURRENT_BINARY_DIR}/leveldb)
target_link_libraries(${COMPONENT_LIB} PUBLIC leveldb)

@ -4,11 +4,9 @@
* SPDX-License-Identifier: GPL-3.0-only * SPDX-License-Identifier: GPL-3.0-only
*/ */
#include "app_console.hpp" #include "app_console/app_console.hpp"
#include <dirent.h> #include <dirent.h>
#include <stdint.h>
#include <sys/_stdint.h>
#include <algorithm> #include <algorithm>
#include <cstdint> #include <cstdint>
@ -21,11 +19,7 @@
#include <string> #include <string>
#include "FreeRTOSConfig.h" #include "FreeRTOSConfig.h"
#include "audio_events.hpp"
#include "audio_fsm.hpp"
#include "bluetooth.hpp"
#include "bluetooth_types.hpp"
#include "database.hpp"
#include "esp_app_desc.h" #include "esp_app_desc.h"
#include "esp_console.h" #include "esp_console.h"
#include "esp_err.h" #include "esp_err.h"
@ -34,19 +28,25 @@
#include "esp_intr_alloc.h" #include "esp_intr_alloc.h"
#include "esp_log.h" #include "esp_log.h"
#include "esp_system.h" #include "esp_system.h"
#include "event_queue.hpp"
#include "ff.h" #include "ff.h"
#include "freertos/FreeRTOSConfig_arch.h"
#include "freertos/projdefs.h" #include "freertos/projdefs.h"
#include "bluetooth.hpp"
#include "bluetooth_types.hpp"
#include "haptics.hpp" #include "haptics.hpp"
#include "index.hpp"
#include "lua_registry.hpp"
#include "memory_resource.hpp" #include "memory_resource.hpp"
#include "samd.hpp" #include "samd.hpp"
#include "service_locator.hpp"
#include "system_events.hpp" #include "audio/audio_events.hpp"
#include "track.hpp" #include "audio/audio_fsm.hpp"
#include "ui_events.hpp" #include "database/database.hpp"
#include "database/index.hpp"
#include "database/track.hpp"
#include "events/event_queue.hpp"
#include "lua/lua_registry.hpp"
#include "system_fsm/service_locator.hpp"
#include "system_fsm/system_events.hpp"
#include "ui/ui_events.hpp"
namespace console { namespace console {

@ -6,20 +6,17 @@
#include "audio_decoder.hpp" #include "audio_decoder.hpp"
#include <cstdint>
#include <cstdlib>
#include <algorithm> #include <algorithm>
#include <cmath> #include <cmath>
#include <cstddef> #include <cstddef>
#include <cstdint> #include <cstdint>
#include <cstdlib>
#include <cstring> #include <cstring>
#include <deque> #include <deque>
#include <memory> #include <memory>
#include <span> #include <span>
#include <variant> #include <variant>
#include "cbor.h"
#include "esp_err.h" #include "esp_err.h"
#include "esp_heap_caps.h" #include "esp_heap_caps.h"
#include "esp_log.h" #include "esp_log.h"
@ -27,7 +24,6 @@
#include "freertos/projdefs.h" #include "freertos/projdefs.h"
#include "freertos/queue.h" #include "freertos/queue.h"
#include "freertos/ringbuf.h" #include "freertos/ringbuf.h"
#include "i2s_dac.hpp"
#include "audio_converter.hpp" #include "audio_converter.hpp"
#include "audio_events.hpp" #include "audio_events.hpp"
@ -37,6 +33,7 @@
#include "codec.hpp" #include "codec.hpp"
#include "event_queue.hpp" #include "event_queue.hpp"
#include "fatfs_audio_input.hpp" #include "fatfs_audio_input.hpp"
#include "i2s_dac.hpp"
#include "sample.hpp" #include "sample.hpp"
#include "tasks.hpp" #include "tasks.hpp"
#include "track.hpp" #include "track.hpp"

@ -4,7 +4,7 @@
* SPDX-License-Identifier: GPL-3.0-only * SPDX-License-Identifier: GPL-3.0-only
*/ */
#include "event_queue.hpp" #include "events/event_queue.hpp"
#include "audio_fsm.hpp" #include "audio_fsm.hpp"
#include "freertos/FreeRTOS.h" #include "freertos/FreeRTOS.h"

@ -4,7 +4,7 @@
* SPDX-License-Identifier: GPL-3.0-only * SPDX-License-Identifier: GPL-3.0-only
*/ */
#include "feedback_haptics.hpp" #include "input/feedback_haptics.hpp"
#include <cstdint> #include <cstdint>

@ -4,13 +4,15 @@
* SPDX-License-Identifier: GPL-3.0-only * SPDX-License-Identifier: GPL-3.0-only
*/ */
#include "input_hook.hpp" #include "input/input_hook.hpp"
#include <functional> #include <functional>
#include <optional> #include <optional>
#include "hal/lv_hal_indev.h" #include "hal/lv_hal_indev.h"
#include "input_trigger.hpp" #include "lua.hpp"
#include "lua.h"
#include "input/input_trigger.hpp"
namespace input { namespace input {

@ -4,14 +4,14 @@
* SPDX-License-Identifier: GPL-3.0-only * SPDX-License-Identifier: GPL-3.0-only
*/ */
#include "input_hook_actions.hpp" #include "input/input_hook_actions.hpp"
#include <cstdint> #include <cstdint>
#include "hal/lv_hal_indev.h" #include "hal/lv_hal_indev.h"
#include "event_queue.hpp" #include "events/event_queue.hpp"
#include "ui_events.hpp" #include "ui/ui_events.hpp"
namespace input { namespace input {
namespace actions { namespace actions {

@ -4,19 +4,20 @@
* SPDX-License-Identifier: GPL-3.0-only * SPDX-License-Identifier: GPL-3.0-only
*/ */
#include "input_touch_dpad.hpp" #include "input/input_touch_dpad.hpp"
#include <cstdint> #include <cstdint>
#include "hal/lv_hal_indev.h" #include "hal/lv_hal_indev.h"
#include "event_queue.hpp"
#include "haptics.hpp" #include "haptics.hpp"
#include "input_device.hpp"
#include "input_hook_actions.hpp"
#include "input_touch_dpad.hpp"
#include "touchwheel.hpp" #include "touchwheel.hpp"
#include "events/event_queue.hpp"
#include "input/input_device.hpp"
#include "input/input_hook_actions.hpp"
#include "input/input_touch_dpad.hpp"
namespace input { namespace input {
TouchDPad::TouchDPad(drivers::TouchWheel& wheel) TouchDPad::TouchDPad(drivers::TouchWheel& wheel)

@ -4,14 +4,14 @@
* SPDX-License-Identifier: GPL-3.0-only * SPDX-License-Identifier: GPL-3.0-only
*/ */
#include "input_touch_wheel.hpp" #include "input/input_touch_wheel.hpp"
#include <cstdint> #include <cstdint>
#include <variant> #include <variant>
#include "hal/lv_hal_indev.h" #include "hal/lv_hal_indev.h"
#include "event_queue.hpp" #include "events/event_queue.hpp"
#include "haptics.hpp" #include "haptics.hpp"
#include "input_device.hpp" #include "input_device.hpp"
#include "input_hook_actions.hpp" #include "input_hook_actions.hpp"

@ -4,10 +4,10 @@
* SPDX-License-Identifier: GPL-3.0-only * SPDX-License-Identifier: GPL-3.0-only
*/ */
#include "input_trigger.hpp" #include "input/input_trigger.hpp"
#include <sys/_stdint.h>
#include <cstdint> #include <cstdint>
#include "esp_timer.h" #include "esp_timer.h"
namespace input { namespace input {

@ -4,25 +4,25 @@
* SPDX-License-Identifier: GPL-3.0-only * SPDX-License-Identifier: GPL-3.0-only
*/ */
#include "lvgl_input_driver.hpp" #include "input/lvgl_input_driver.hpp"
#include <stdint.h>
#include <cstdint> #include <cstdint>
#include <memory> #include <memory>
#include <variant> #include <variant>
#include "device_factory.hpp" #include "lua.hpp"
#include "feedback_haptics.hpp"
#include "input_hook.hpp"
#include "input_touch_wheel.hpp"
#include "input_trigger.hpp"
#include "input_volume_buttons.hpp"
#include "lauxlib.h"
#include "lua.h"
#include "lua_thread.hpp"
#include "lvgl.h" #include "lvgl.h"
#include "nvs.hpp" #include "nvs.hpp"
#include "property.hpp"
#include "input/device_factory.hpp"
#include "input/feedback_haptics.hpp"
#include "input/input_hook.hpp"
#include "input/input_touch_wheel.hpp"
#include "input/input_trigger.hpp"
#include "input/input_volume_buttons.hpp"
#include "lua/lua_thread.hpp"
#include "lua/property.hpp"
[[maybe_unused]] static constexpr char kTag[] = "input"; [[maybe_unused]] static constexpr char kTag[] = "input";

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save