distribution/packages/emulators/tools/gptokeyb/patches/0001-build_fix.patch

27 lines
751 B
Diff
Raw Normal View History

2022-02-05 14:23:32 +00:00
diff --git a/gptokeyb.cpp b/gptokeyb.cpp
2023-05-30 13:12:17 +00:00
old mode 100644
new mode 100755
index aa4c0b0..0d62f28
2022-02-05 14:23:32 +00:00
--- a/gptokeyb.cpp
+++ b/gptokeyb.cpp
@@ -42,8 +42,8 @@
#include <linux/input.h>
#include <linux/uinput.h>
2023-05-30 13:12:17 +00:00
2022-02-05 14:23:32 +00:00
-#include <libevdev-1.0/libevdev/libevdev-uinput.h>
-#include <libevdev-1.0/libevdev/libevdev.h>
+#include <libevdev/libevdev-uinput.h>
+#include <libevdev/libevdev.h>
2023-05-30 13:12:17 +00:00
2022-02-05 14:23:32 +00:00
#include <fcntl.h>
#include <sstream>
2023-05-30 13:12:17 +00:00
@@ -2284,7 +2284,7 @@ int main(int argc, char* argv[])
const char* config_file = nullptr;
config_mode = true;
- config_file = "/emuelec/configs/gptokeyb/default.gptk";
+ config_file = "/usr/config/gptokeyb/default.gptk";
// Add hotkey environment variable if available
if (char* env_hotkey = SDL_getenv("HOTKEY")) {