Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Configurable Keybinds #9

Open
Bluscream opened this issue Jan 21, 2024 · 0 comments
Open

[Feature Request] Configurable Keybinds #9

Bluscream opened this issue Jan 21, 2024 · 0 comments

Comments

@Bluscream
Copy link

Bluscream commented Jan 21, 2024

keyboard_toggle_vr = cfg_keyboard_shortcuts.CreateEntry("key_toggle_vr", "f11", "Key to toggle VR");
keyboard_center_vr = cfg_keyboard_shortcuts.CreateEntry("key_center_vr", "f12", "Key to center VR");
keyboard_reparent_cam = cfg_keyboard_shortcuts.CreateEntry("key_reparent_cam", "f2", "Key to reparent camera");
keyboard_scale_up = cfg_keyboard_shortcuts.CreateEntry("key_scale_up", "f4", "Key to scale up");
keyboard_scale_down = cfg_keyboard_shortcuts.CreateEntry("key_scale_down", "f3", "Key to scale down");
keyboard_scale_to_user = cfg_keyboard_shortcuts.CreateEntry("key_scale_to_user", "f5", "Key to scale to user");

BepInEx Docs: https://docs.bepinex.dev/v5.4.21/api/BepInEx.Configuration.KeyboardShortcut.html

You don't need to implement your own UI, users can edit the config file or use https://github.com/BepInEx/BepInEx.ConfigurationManager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant