projects
/
fishladder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add little bit / edges
[fishladder.git]
/
vg
/
config.h
diff --git
a/vg/config.h
b/vg/config.h
index 01c9b0a937c2154ae4adadfc98654bc986618670..ac8df5531e9a084d97b35d3d9018dc906b7f6211 100644
(file)
--- a/
vg/config.h
+++ b/
vg/config.h
@@
-2,16
+2,18
@@
static struct button_binding vg_button_binds[] =
{
static struct button_binding vg_button_binds[] =
{
- { .name = "
fire0",
.bind = GLFW_MOUSE_BUTTON_LEFT },
- { .name = "
fire1",
.bind = GLFW_MOUSE_BUTTON_RIGHT },
+ { .name = "
primary",
.bind = GLFW_MOUSE_BUTTON_LEFT },
+ { .name = "
secondary",
.bind = GLFW_MOUSE_BUTTON_RIGHT },
{ .name = "noclip", .bind = GLFW_KEY_V, },
{ .name = "noclip", .bind = GLFW_KEY_V, },
- { .name = "jump", .bind = GLFW_KEY_SPACE }
+ { .name = "go", .bind = GLFW_KEY_SPACE },
+ { .name = "prev", .bind = GLFW_KEY_N },
+ { .name = "next", .bind = GLFW_KEY_M }
};
static struct axis_binding vg_axis_binds[] =
{
};
static struct axis_binding vg_axis_binds[] =
{
- { .name = "
fire0",
.positive = GLFW_MOUSE_BUTTON_LEFT, .negative = -1 },
- { .name = "
fire1",
.positive = GLFW_MOUSE_BUTTON_RIGHT, .negative = -1 },
+ { .name = "
primary",
.positive = GLFW_MOUSE_BUTTON_LEFT, .negative = -1 },
+ { .name = "
secondary",
.positive = GLFW_MOUSE_BUTTON_RIGHT, .negative = -1 },
{ .name = "horizontal", .positive = GLFW_KEY_D, .negative = GLFW_KEY_A },
{ .name = "vertical", .positive = GLFW_KEY_W, .negative = GLFW_KEY_S }
};
{ .name = "horizontal", .positive = GLFW_KEY_D, .negative = GLFW_KEY_A },
{ .name = "vertical", .positive = GLFW_KEY_W, .negative = GLFW_KEY_S }
};