Module src.input.actions
High‐level input action constants for keyboard and MIDI events.
Mirrors the keys and behaviors used in camera.lua and other systems.
Fields
QUIT | Application control: quit the application. |
RESTART | Application control: restart the application. |
RESET_VIEW | Application control: reset the camera orientation to default. |
RESET_FOV | Application control: reset the camera field of view to default. |
TOGGLE_DEBUG | Application control: toggle the debug overlay (FPS and camera info). |
TOGGLE_LABELS | Label controls: toggle display of labels. |
TOGGLE_JOINTS | Label controls: toggle display of joint markers. |
TOGGLE_EDGES | Label controls: toggle display of mesh edges. |
TOGGLE_CURVES | Label controls: toggle display of control curves. |
TOGGLE_SURFACES | Label controls: toggle display of surface meshes. |
ROTATE_CW | Shift‐based rotation: rotate the 12‐note map clockwise. |
ROTATE_CCW | Shift‐based rotation: rotate the 12‐note map counter‐clockwise. |
MOVE_FORWARD | Continuous camera movement: move forward. |
MOVE_BACKWARD | Continuous camera movement: move backward. |
STRAFE_LEFT | Continuous camera movement: strafe left. |
STRAFE_RIGHT | Continuous camera movement: strafe right. |
ROTATE_LEFT | Continuous camera rotation: yaw left. |
ROTATE_RIGHT | Continuous camera rotation: yaw right. |
PITCH_UP | Continuous camera rotation: pitch up. |
PITCH_DOWN | Continuous camera rotation: pitch down. |
ZOOM_IN | Zoom control: zoom in. |
ZOOM_OUT | Zoom control: zoom out. |
TOGGLE_TORUS_LIGHTS | Lighting control: toggle torus lights. |
TOGGLE_NOTE_MODE | Mode toggle: switch between note‐mode and default. |
TOGGLE_PLAYBACK | Playback control: toggle MIDI playback on/off. |
BEGIN_SONG | Playback control: start song from beginning. |
NEXT_SONG | Playback control: advance to next song. |
SHOW_COMMAND_MENU | UI interaction: show the extended command popup (triggered by “:”). |
Fields
- QUIT
-
Application control: quit the application.
- QUIT string
- RESTART
-
Application control: restart the application.
- RESTART string
- RESET_VIEW
-
Application control: reset the camera orientation to default.
- RESET_VIEW string
- RESET_FOV
-
Application control: reset the camera field of view to default.
- RESET_FOV string
- TOGGLE_DEBUG
-
Application control: toggle the debug overlay (FPS and camera info).
- TOGGLE_DEBUG string
- TOGGLE_LABELS
-
Label controls: toggle display of labels.
- TOGGLE_LABELS string
- TOGGLE_JOINTS
-
Label controls: toggle display of joint markers.
- TOGGLE_JOINTS string
- TOGGLE_EDGES
-
Label controls: toggle display of mesh edges.
- TOGGLE_EDGES string
- TOGGLE_CURVES
-
Label controls: toggle display of control curves.
- TOGGLE_CURVES string
- TOGGLE_SURFACES
-
Label controls: toggle display of surface meshes.
- TOGGLE_SURFACES string
- ROTATE_CW
-
Shift‐based rotation: rotate the 12‐note map clockwise.
- ROTATE_CW string
- ROTATE_CCW
-
Shift‐based rotation: rotate the 12‐note map counter‐clockwise.
- ROTATE_CCW string
- MOVE_FORWARD
-
Continuous camera movement: move forward.
- MOVE_FORWARD string
- MOVE_BACKWARD
-
Continuous camera movement: move backward.
- MOVE_BACKWARD string
- STRAFE_LEFT
-
Continuous camera movement: strafe left.
- STRAFE_LEFT string
- STRAFE_RIGHT
-
Continuous camera movement: strafe right.
- STRAFE_RIGHT string
- ROTATE_LEFT
-
Continuous camera rotation: yaw left.
- ROTATE_LEFT string
- ROTATE_RIGHT
-
Continuous camera rotation: yaw right.
- ROTATE_RIGHT string
- PITCH_UP
-
Continuous camera rotation: pitch up.
- PITCH_UP string
- PITCH_DOWN
-
Continuous camera rotation: pitch down.
- PITCH_DOWN string
- ZOOM_IN
-
Zoom control: zoom in.
- ZOOM_IN string
- ZOOM_OUT
-
Zoom control: zoom out.
- ZOOM_OUT string
- TOGGLE_TORUS_LIGHTS
-
Lighting control: toggle torus lights.
- TOGGLE_TORUS_LIGHTS string
- TOGGLE_NOTE_MODE
-
Mode toggle: switch between note‐mode and default.
- TOGGLE_NOTE_MODE string
- TOGGLE_PLAYBACK
-
Playback control: toggle MIDI playback on/off.
- TOGGLE_PLAYBACK string
- BEGIN_SONG
-
Playback control: start song from beginning.
- BEGIN_SONG string
- NEXT_SONG
-
Playback control: advance to next song.
- NEXT_SONG string
- SHOW_COMMAND_MENU
-
UI interaction: show the extended command popup (triggered by “:”).
- SHOW_COMMAND_MENU string