#
# HELP: SYNOPSIS:
# HELP:     sonoctux/default/registermouse
# HELP:
# HELP: DESCRIPTION:
# HELP:     Register the mouse gestures used to steer sonoctux
#

# add setting the turnpoint
! generic/register/mouse/turnpoint global

# add getting information about the current voxel.
! generic/register/mouse/info global

# Add Alt-left click for local jumping
! generic/register/mouse/localjump global

#
# 2D View setup
#

VIEW_SET Planes_XY
# Allow sliding using the mouse
! generic/register/mouse/slideclip engine

# Allow walking using the mouse
! generic/register/mouse/goclip engine

#
# 2D view specific setup
#

# allow to turn on SonoSim view
VIEW_SET SonoSim
! generic/register/mouse/turn view

# All the plane views:
# Look at a voxel using middle button
VIEW_SET Planes_XY
! generic/register/mouse/lookat view
VIEW_SET Planes_XZ
! generic/register/mouse/lookat view
VIEW_SET Planes_YZ
! generic/register/mouse/lookat view

#
# Stuff only applying to 3D views
#

VIEW_SET Main

# Allow turning using the mouse
! generic/register/mouse/turn engine

# Allow sliding using the mouse
! generic/register/mouse/slide engine

# Allow walking using the mouse
! generic/register/mouse/go engine
