basic tile editing
[fishladder.git] / vg / config.h
index 01c9b0a937c2154ae4adadfc98654bc986618670..d8a9246903c912532a933b6cb51c5e4fb25cf93e 100644 (file)
@@ -2,16 +2,16 @@
 
 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 }
 };