HAL renaming & relocation (#215)

Implemented more consistent naming:
- Moved all HAL devices into their own namespace (and related folder)
- Post-fixed all HAL device names with "Device"
This commit is contained in:
Ken Van Hoeylandt
2025-02-09 16:48:23 +01:00
committed by GitHub
parent a7a3b17ff6
commit 2345ba6d13
62 changed files with 263 additions and 250 deletions
@@ -1,11 +1,11 @@
#pragma once
#include <Tactility/hal/Keyboard.h>
#include <Tactility/hal/keyboard/KeyboardDevice.h>
#include <Tactility/TactilityCore.h>
#include <esp_lcd_panel_io_interface.h>
#include <esp_lcd_touch.h>
class TdeckKeyboard : public tt::hal::Keyboard {
class TdeckKeyboard : public tt::hal::keyboard::KeyboardDevice {
private:
@@ -22,4 +22,4 @@ public:
lv_indev_t* _Nullable getLvglIndev() override { return deviceHandle; }
};
std::shared_ptr<tt::hal::Keyboard> createKeyboard();
std::shared_ptr<tt::hal::keyboard::KeyboardDevice> createKeyboard();