From 56bc064fb7f45325ee06e9afa04602c30f16e9d9 Mon Sep 17 00:00:00 2001 From: ABeltramo Date: Mon, 29 Jul 2024 17:18:31 +0100 Subject: [PATCH] feat: exposed internal keyboard mapping --- CMakeLists.txt | 1 - src/uinput/{ => include/inputtino}/keyboard.hpp | 0 src/uinput/keyboard.cpp | 2 +- 3 files changed, 1 insertion(+), 2 deletions(-) rename src/uinput/{ => include/inputtino}/keyboard.hpp (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1c107f8..f0182c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -112,7 +112,6 @@ if (UNIX AND NOT APPLE) file(GLOB SRC_LIST SRCS src/uinput/*.cpp) target_sources(libinputtino PRIVATE ${SRC_LIST} - "src/uinput/keyboard.hpp" "src/uinput/joypad_utils.hpp" "src/uhid/joypad_ps5.cpp") target_include_directories(libinputtino PUBLIC "src/uinput/include" "src/uhid/include/") diff --git a/src/uinput/keyboard.hpp b/src/uinput/include/inputtino/keyboard.hpp similarity index 100% rename from src/uinput/keyboard.hpp rename to src/uinput/include/inputtino/keyboard.hpp diff --git a/src/uinput/keyboard.cpp b/src/uinput/keyboard.cpp index 3cbcc0d..f0ec283 100644 --- a/src/uinput/keyboard.cpp +++ b/src/uinput/keyboard.cpp @@ -1,9 +1,9 @@ -#include "keyboard.hpp" #include "inputtino/input.hpp" #include #include #include +#include #include namespace inputtino {