init
[vg.git] / vg / config.h
1 // Copyright (C) 2021 Harry Godden (hgn) - All Rights Reserved
2
3 static struct button_binding vg_button_binds[] =
4 {
5 { .name = "fire0", .bind = GLFW_MOUSE_BUTTON_LEFT },
6 { .name = "fire1", .bind = GLFW_MOUSE_BUTTON_RIGHT },
7 { .name = "noclip", .bind = GLFW_KEY_V, },
8 { .name = "jump", .bind = GLFW_KEY_SPACE }
9 };
10
11 static struct axis_binding vg_axis_binds[] =
12 {
13 { .name = "fire0", .positive = GLFW_MOUSE_BUTTON_LEFT, .negative = -1 },
14 { .name = "fire1", .positive = GLFW_MOUSE_BUTTON_RIGHT, .negative = -1 },
15 { .name = "horizontal", .positive = GLFW_KEY_D, .negative = GLFW_KEY_A },
16 { .name = "vertical", .positive = GLFW_KEY_W, .negative = GLFW_KEY_S }
17 };