SubMaps

Yo dawg, I heard you like input maps, so we put an input map in your input map so you can map while you map.

Submaps and You

SubMaps are an input map located within a node, which itself is located in your base input map. They are an effective way to make your input map easier to understand. You can use SubMaps either by placing control groups entirely in their own section of your map, or by connecting inputs to subgraphs which allows you to separate a complex section of your map. Let's start with the former.

Cleaning up the Mess

Below we have an example of a somewhat intricate map for a space sim.

The various hats and button groups have been categorized by comment boxes

This dual-stick (HOSAS) set up involves multiple axes, and hats, as well as numerous buttons. Visually, it can be hard to distinguish sections, or you may prefer to simply view the various control groups separately.

We'll start by placing the axes of both joysticks - and their filtered connection output to a virtual joystick - into a submap. We'll accomplish this by selecting all the nodes, right clicking to bring up our context menu, and choosing the Create Submap from Selection option (Ctrl+M on the keyboard).

Magic? No! Science! Actually it's more like math and logic but that's beside the point.

Just like that we have an entire section of our input map contained to a single visible node which can be renamed like any other node. The contents of this submap node can be viewed by double clicking the node.

Note that the top of the input map has a navigation bar for quickly moving between maps and submaps. The currently active submap is highlighted to indicated your viewing position in the layers.

Connected Submaps

In our second use case, we'd like to organize the output and filter nodes in a submap, but leave the sources in our base map. The process is the same as our first example, and shows how intuitive Hitch Cmdr can be.

Inside this new connected submap node we'll find that Cmdr has neatly arranged the necessary nodes to connect our input sources to the filter and output nodes.

More mathgic!

Last updated

Was this helpful?