google-deepmind / google-deepmind/mujoco

How to reverse the control of camera zoom using the mouse wheel?

Open
#3,211 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
15.2k
Forks
1.8k
Avg merge
10d 16h
Merged PRs (30d)
25

Description

### Intro

Now, scrolling the mouse wheel up zooms out (moves away from an object). I want the opposite behavior—how can I achieve that?

### My setup

`Windows 11 25H2`

```
mujoco 3.6.0
mujoco-mjx 3.6.0
```

### Confirmations

- [x] I searched the [latest documentation](https://mujoco.readthedocs.io/en/latest/overview.html) thoroughly before posting.
- [x] I searched previous [Issues](https://github.com/google-deepmind/mujoco/issues) and [Discussions](https://github.com/google-deepmind/mujoco/discussions), I am certain this has not been raised before.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.