diff options
author | Frederico Linhares <fred@linhares.blue> | 2023-12-22 11:41:53 -0300 |
---|---|---|
committer | Frederico Linhares <fred@linhares.blue> | 2023-12-22 11:41:53 -0300 |
commit | 21a0231e2dd5dfe526e8e68a544e6f9b549118fc (patch) | |
tree | 8e4db2cb99620fa5352f348664e5e075d45e1fd3 /src | |
parent | de49e676fae6060ac85864bdd8471b525305c9fb (diff) |
fixt Z key mapping
Diffstat (limited to 'src')
-rw-r--r-- | src/key.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/key.cpp b/src/key.cpp index 808c527..615119c 100644 --- a/src/key.cpp +++ b/src/key.cpp @@ -49,7 +49,7 @@ cg_key_init(mrb_state *mrb) mrb_define_const(mrb, cg_mKey, "W", mrb_int_value(mrb, SDLK_w)); mrb_define_const(mrb, cg_mKey, "X", mrb_int_value(mrb, SDLK_x)); mrb_define_const(mrb, cg_mKey, "Y", mrb_int_value(mrb, SDLK_y)); - mrb_define_const(mrb, cg_mKey, "Z", mrb_int_value(mrb, SDLK_x)); + mrb_define_const(mrb, cg_mKey, "Z", mrb_int_value(mrb, SDLK_z)); mrb_define_const(mrb, cg_mKey, "UP", mrb_int_value(mrb, SDLK_UP)); mrb_define_const(mrb, cg_mKey, "DOWN", mrb_int_value(mrb, SDLK_DOWN)); |