projects
/
vg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
aa12729
)
basic tile editing
author
hgn
<hgodden00@gmail.com>
Tue, 20 Jul 2021 18:14:46 +0000
(19:14 +0100)
committer
hgn
<hgodden00@gmail.com>
Tue, 20 Jul 2021 18:14:46 +0000
(19:14 +0100)
Former-commit-id:
00bd0600086421b4e1a24cd7e5d44729b8ebb9f4
fishladder.c.REMOVED.git-id
patch
|
blob
|
history
vg/config.h
patch
|
blob
|
history
diff --git
a/fishladder.c.REMOVED.git-id
b/fishladder.c.REMOVED.git-id
index e87c36628b0d383e3a0c8d7d33153e2a41debe2b..5a246f3f08c95a6bd66369a51df56b99a7f94e07 100644
(file)
--- a/
fishladder.c.REMOVED.git-id
+++ b/
fishladder.c.REMOVED.git-id
@@
-1
+1
@@
-12628ca4bfd991c74da464f514dfbfedeeefe5f8
\ No newline at end of file
+70448bc43d718d2fcf759a07eca9e0fa45de9642
\ No newline at end of file
diff --git
a/vg/config.h
b/vg/config.h
index 01c9b0a937c2154ae4adadfc98654bc986618670..d8a9246903c912532a933b6cb51c5e4fb25cf93e 100644
(file)
--- a/
vg/config.h
+++ b/
vg/config.h
@@
-2,16
+2,16
@@
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 = "jump", .bind = GLFW_KEY_SPACE }
};
static struct axis_binding vg_axis_binds[] =
{
{ .name = "noclip", .bind = GLFW_KEY_V, },
{ .name = "jump", .bind = GLFW_KEY_SPACE }
};
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 }
};