add exit key rebinding

This commit is contained in:
Yonokid
2025-08-12 10:14:27 -04:00
parent 759414e713
commit f27dfc023b
2 changed files with 2 additions and 1 deletions

View File

@@ -111,7 +111,7 @@ def main():
ray.set_texture_filter(target.texture, ray.TextureFilter.TEXTURE_FILTER_TRILINEAR) ray.set_texture_filter(target.texture, ray.TextureFilter.TEXTURE_FILTER_TRILINEAR)
ray.gen_texture_mipmaps(target.texture) ray.gen_texture_mipmaps(target.texture)
ray.rl_set_blend_factors_separate(RL_SRC_ALPHA, RL_ONE_MINUS_SRC_ALPHA, RL_ONE, RL_ONE_MINUS_SRC_ALPHA, RL_FUNC_ADD, RL_FUNC_ADD) ray.rl_set_blend_factors_separate(RL_SRC_ALPHA, RL_ONE_MINUS_SRC_ALPHA, RL_ONE, RL_ONE_MINUS_SRC_ALPHA, RL_FUNC_ADD, RL_FUNC_ADD)
ray.set_exit_key(ray.KeyboardKey.KEY_A) ray.set_exit_key(ord(global_data.config["keys"]["exit_key"]))
while not ray.window_should_close(): while not ray.window_should_close():
if ray.is_key_pressed(ray.KeyboardKey.KEY_F11): if ray.is_key_pressed(ray.KeyboardKey.KEY_F11):

View File

@@ -12,6 +12,7 @@ tja_path = ['Songs']
video_path = 'Videos' video_path = 'Videos'
[keys] [keys]
exit_key = 'A'
left_kat = ['D'] left_kat = ['D']
left_don = ['F'] left_don = ['F']
right_don = ['J'] right_don = ['J']