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 = "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 }
};