MCPcopy Create free account
hub / github.com/google-deepmind/dm_control / bind_z_axis

Method bind_z_axis

dm_control/viewer/user_input.py:271–273  ·  view source on GitHub ↗

Binds a callback to a z-axis motion action (mouse scroll).

(self, callback)

Source from the content-addressed store, hash-verified

269 self._plane_callback.append(callback)
270
271 def bind_z_axis(self, callback):
272 """Binds a callback to a z-axis motion action (mouse scroll)."""
273 self._z_axis_callback.append(callback)
274
275 def _handle_key(self, key, action, modifiers):
276 """Handles a single key press (mouse and keyboard)."""

Callers 2

initializeMethod · 0.80

Calls

no outgoing calls

Tested by 1