[client] refactor keybinds out of main.c

This commit is contained in:
Geoffrey McRae committed 2021-02-21 10:31:48 +11:00
1 parent 37b3a26b9c
commit 7ff5da4d62
7 files changed
+225 -158

No files matched your search

+4
View File
@@ -25,6 +25,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
#include "dynamic/displayservers.h"
#include "dynamic/renderers.h"
#include "common/thread.h"
#include "common/types.h"
#include "common/ivshmem.h"
@@ -81,6 +82,7 @@ struct AppState
PLGMPClientQueue frameQueue;
PLGMPClientQueue pointerQueue;
LGThread * frameThread;
bool formatValid;
atomic_uint_least64_t frameTime;
uint64_t lastFrameTime;
@@ -241,3 +243,5 @@ struct CursorState
extern struct AppState g_state;
extern struct CursorState g_cursor;
extern struct AppParams g_params;
int main_frameThread(void * unused);