diff options
author | metamuffin <metamuffin@disroot.org> | 2024-12-23 16:41:57 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-12-25 20:01:20 +0100 |
commit | 469d554381597a383aa799b29261786de19fb08e (patch) | |
tree | 229303a223d786f4f725b2f41e79b59d9e3a2e13 /client/global.gd | |
parent | b0df9b7c27a3d6316969d7feff4d912c3abf99f6 (diff) | |
download | hurrycurry-469d554381597a383aa799b29261786de19fb08e.tar hurrycurry-469d554381597a383aa799b29261786de19fb08e.tar.bz2 hurrycurry-469d554381597a383aa799b29261786de19fb08e.tar.zst |
two-handed mostly works
Diffstat (limited to 'client/global.gd')
-rw-r--r-- | client/global.gd | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/global.gd b/client/global.gd index 374f0e44..ce24f85d 100644 --- a/client/global.gd +++ b/client/global.gd @@ -268,3 +268,8 @@ func configure_viewport_aa(vp: Viewport, aa: String) -> void: "ms4x": vp.msaa_3d = Viewport.MSAA_4X vp.screen_space_aa = Viewport.SCREEN_SPACE_AA_DISABLED + +static func hand_to_index(h): + match h: + "left": return 0 + "right": return 1 |