mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-11-06 15:41:57 +00:00
[client] all: use the defined keyboard mapping for keybinds
Fixes #1007
This commit is contained in:
@@ -90,8 +90,7 @@ struct AppState
|
||||
uint64_t escapeTime;
|
||||
int escapeAction;
|
||||
bool escapeHelp;
|
||||
KeybindHandle bindings[KEY_MAX];
|
||||
const char * keyDescription[KEY_MAX];
|
||||
struct ll * bindings;
|
||||
bool keyDown[KEY_MAX];
|
||||
|
||||
bool haveSrcSize;
|
||||
@@ -227,9 +226,11 @@ struct CBRequest
|
||||
|
||||
struct KeybindHandle
|
||||
{
|
||||
int sc;
|
||||
KeybindFn callback;
|
||||
void * opaque;
|
||||
int sc;
|
||||
int charcode;
|
||||
KeybindFn callback;
|
||||
const char * description;
|
||||
void * opaque;
|
||||
};
|
||||
|
||||
enum WarpState
|
||||
|
||||
Reference in New Issue
Block a user