X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;ds=sidebyside;f=vg_config.h;h=4b305e94e2b91eeb5059db20b0b4cf389de9f428;hb=afa80c76d03f5e983092e9d7be33a9102a7ab25e;hp=c1e751211ed8162392d18406c2728670e9a28128;hpb=fc32ce17923a42f9a0f250e4ab21a08411a41acb;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/vg_config.h b/vg_config.h index c1e7512..4b305e9 100644 --- a/vg_config.h +++ b/vg_config.h @@ -1,5 +1,6 @@ // Copyright (C) 2021 Harry Godden (hgn) - All Rights Reserved #define VG_CONFIG +#include "vg/vg.h" static struct button_binding vg_button_binds[] = { @@ -13,6 +14,13 @@ static struct button_binding vg_button_binds[] = { .name = "down", .bind = GLFW_KEY_F }, { .name = "yawl", .bind = GLFW_KEY_Q }, { .name = "yawr", .bind = GLFW_KEY_E }, + { .name = "push", .bind = GLFW_KEY_T } +}; + +static struct button_binding vg_controller_binds[] = +{ + { "push", GLFW_GAMEPAD_BUTTON_A }, + { "break", GLFW_GAMEPAD_BUTTON_B } }; static struct axis_binding vg_axis_binds[] =