mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 20:46:39 +02:00
Map keyboard buttons and mouse controls to a gamepad. https://github.com/AntiMicroX/antimicrox
23 lines
504 B
Diff
23 lines
504 B
Diff
--- a/src/main.cpp
|
|
+++ b/src/main.cpp
|
|
@@ -60,8 +60,6 @@
|
|
#include <signal.h>
|
|
#include <unistd.h>
|
|
|
|
- #include <execinfo.h>
|
|
-
|
|
#ifdef WITH_X11
|
|
#include "x11extras.h"
|
|
#endif
|
|
@@ -93,9 +91,9 @@
|
|
size_t size;
|
|
|
|
// get void*'s for all entries on the stack
|
|
- size = backtrace(array, MAX_NUM);
|
|
+ size = 0;
|
|
|
|
- char **strings = backtrace_symbols(array, size);
|
|
+ char **strings = NULL;
|
|
WARN() << "Stack trace:";
|
|
for (size_t i = 0; i < size; i++)
|
|
{
|