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

#
# global Settings
#

# 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

# Add Ctrl-right click for repainting objects
! generic/register/mouse/fillconnected global


#
# 2D View setup
#

! threeplane/mouse_fillconnected2d
! threeplane/mouse_cut2d

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

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

#
# Now set up the 3d view
#
VIEW_SET Main

# Add Ctrl-left click for repainting objects
! generic/register/mouse/cut Engine

# Add vertical and horizontal cutting
! generic/register/mouse/vertcut Engine
! generic/register/mouse/horizcut Engine

# 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
