home *** CD-ROM | disk | FTP | other *** search
- // Syntax of this file:
- //
- // Command hierarchy, separated by semicolons, followed by
- // Mouse button the commands apply to, followed by
- // Shift or Ctrl keys needed.
- //
- // Valid Mouse Buttons are:
- // "LEFT", "MIDDLE", and "RIGHT"
- //
- // Valid Keys are:
- // "SHIFT" and "CTRL"
- // For a bare click, don't specify any modifying keys...
- //
- // Mouse command hierarchies have a certain order.
- // Mouse commands fall into two categories:
- // 1. Commands that are "handled" if and only if the click is in a
- // valid part of the window (e.g., on a vertex); and
- // 2. Commands that are "handled" no matter where the click is:
- // (e.g., set camera position).
- //
- // Once a command is handled, the remaining items in the command
- // hierarchy are ignored.
- // Thus, the "no matter what" commands, should probably be the
- // last items in the handling string (and possibly the only items...)
- //
- //
- // The following are the possible mouse commands:
- //
- // Commands that may or may not be handled:
- //
- // NEWBRUSH Draws a new brush in current entity / Handled if nothing is selected and current entity is modifiable
- // FACEDRAG Drags closest face(s) / Handled if one brush is selected and click is "outside" of brush
- // BRUSHDRAG Drags selected brush(es) / Handled if one or more brushes selected anc click is "inside" of brush
- // SHEAR Shears closest face(s) / Handled if one brush is selected and click is "inside" or "outside" of brush
- // CURFACEDRAG Drags current face / Handled if one brush selected
- // VERTEXDRAG Vertex Manipulation / Handled if you click close enough to vertex (one brush only?)
- // ROTATE Rotate brushes / Handled if you click vertex and drag
- // CAMERADRAG Drag camera / Handled if you click one of the camera icons
- // CLIPPOINTDRAG Drag clip point / Handled if clipper is out and you click and drag one of the clip points
- // CLIPPLANEDRAG Drag clip plane / " but for whole plane
- // ENTITYCONNECT Connect entities (sets "targets") / Handled if you have one entity selected and you click on another entity
- //
- // New for 0.85b
- //
- // MULTIFACEDRAG Drags faces that are "parallel" to closest face...
- // MULTIFACEDRAGSTRICT
- // Also drags faces that are "parallel" to closest face,
- // but the faces must also be "concident" in plane, i.e.
- // lined up next to each other, rather than just facing
- // same direction...
- // EDGEDRAG If the mouse is placed over "two" points of a brush or
- // adjacent brushes, the common "edge" is dragged.
- //
- // New for 0.86b
- // KNOB Knobs are supplied for face dragging/shearing and vertex/edge
- // manipulation, and rotation...
- // OBJECTTOOL Brings up context sensitive menu for the clicked brush/entity...
- //
- // Commands that are always handled:
- //
- // SELECT Select brush under click, hold to cycle, drag to select multiple
- // SELECTTOTAL Same as select, but dragging requires total inclusion to select
- // ADDCLIPPOINT Add a clip point
- // TEXTUREBRUSH Apply current texture to whole brush
- // TEXTUREFACE Apply current texture to clicked face (not very useful)
- // MOVECAMERA Move camera to click location
- // CAMERADIRECTION
- // Sets the camera direction
- //
- // You can have multiple configurations, simply specify a "name" for each
- // and put the total number here first:
- 3
- // And specify which one is current, by default:
- 1
- {
- "Default"
- { "EDGEDRAG;VERTEXDRAG;CLIPPOINTDRAG;CAMERADRAG;BRUSHDRAG;FACEDRAG;NEWBRUSH" "LEFT" }
- { "SELECT" "LEFT" "SHIFT" }
- { "ROTATE;ENTITYCONNECT" "LEFT" "CTRL" }
- { "SHEAR" "LEFT" "CTRL" "SHIFT" }
- { "MOVECAMERA" "RIGHT" }
- { "ADDCLIPPOINT" "RIGHT" "SHIFT" }
- { "TEXTUREBRUSH" "RIGHT" "CTRL" }
- { "CAMERADIRECTION" "RIGHT" "CTRL" "SHIFT" }
- }
- {
- "Selections"
- { "SELECTTOTAL" "LEFT"}
- { "EDGEDRAG;VERTEXDRAG;CLIPPOINTDRAG;CAMERADRAG;BRUSHDRAG;FACEDRAG;NEWBRUSH" "LEFT" "SHIFT" }
- { "ROTATE" "LEFT" "CTRL" }
- { "SHEAR" "LEFT" "CTRL" "SHIFT" }
- { "MULTIFACEDRAG" "RIGHT" }
- { "MULTIFACEDRAGSTRICT" "RIGHT" "SHIFT" }
- { "TEXTUREBRUSH" "RIGHT" "CTRL" }
- { "CAMERADIRECTION" "RIGHT" "CTRL" "SHIFT" }
- }
- {
- "Knob/Object"
- { "KNOB" "LEFT" }
- { "SELECTTOTAL" "LEFT" "SHIFT" }
- { "OBJECTTOOL" "RIGHT" }
- }
-