Add target relative mouse motion actions.

PiperOrigin-RevId: 802072880
Change-Id: I1ff204594a126f8e50df4c703709f70ec4dd458c
This commit is contained in:
Haroon Qureshi
2025-09-02 03:38:45 -07:00
committed by Copybara-Service
parent ee777f74d3
commit 8d884585dd
5 changed files with 58 additions and 3 deletions
+3 -1
View File
@@ -44,7 +44,9 @@ typedef enum mjtMouse_ { // mouse interaction mode
mjMOUSE_ROTATE_H, // rotate, horizontal plane
mjMOUSE_MOVE_V, // move, vertical plane
mjMOUSE_MOVE_H, // move, horizontal plane
mjMOUSE_ZOOM // zoom
mjMOUSE_ZOOM, // zoom
mjMOUSE_MOVE_V_REL, // move, vertical plane, relative to target
mjMOUSE_MOVE_H_REL, // move, horizontal plane, relative to target
} mjtMouse;