projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfix
[carveJwlIkooP6JGAAIwe30JlM.git]
/
vg_config.h
diff --git
a/vg_config.h
b/vg_config.h
index c1e751211ed8162392d18406c2728670e9a28128..92fd2e855c88dc9357acef1552859c0d79d138a1 100644
(file)
--- a/
vg_config.h
+++ b/
vg_config.h
@@
-1,5
+1,6
@@
// Copyright (C) 2021 Harry Godden (hgn) - All Rights Reserved
#define VG_CONFIG
// Copyright (C) 2021 Harry Godden (hgn) - All Rights Reserved
#define VG_CONFIG
+#include "vg/vg.h"
static struct button_binding vg_button_binds[] =
{
static struct button_binding vg_button_binds[] =
{
@@
-13,6
+14,14
@@
static struct button_binding vg_button_binds[] =
{ .name = "down", .bind = GLFW_KEY_F },
{ .name = "yawl", .bind = GLFW_KEY_Q },
{ .name = "yawr", .bind = GLFW_KEY_E },
{ .name = "down", .bind = GLFW_KEY_F },
{ .name = "yawl", .bind = GLFW_KEY_Q },
{ .name = "yawr", .bind = GLFW_KEY_E },
+ { .name = "push", .bind = GLFW_KEY_T }
+};
+
+static struct button_binding vg_controller_binds[] =
+{
+ { "push", GLFW_GAMEPAD_BUTTON_A },
+ { "break", GLFW_GAMEPAD_BUTTON_B },
+ { "switchmode", GLFW_GAMEPAD_BUTTON_Y }
};
static struct axis_binding vg_axis_binds[] =
};
static struct axis_binding vg_axis_binds[] =