Microsoft DirectX 8.1 (C++) |
At this point, the user configuration interface is displayed. If the device manufacturer has provided a graphic, users see an image of the device with labels indicating the action assigned to each device object. If no graphic is available, a simple text list of available device objects with their associated actions is displayed. An example of the former is shown here.
Users can now reassign controllers to actions as they see fit. Any changes made will be reflected in the DIACTIONFORMAT structure. Once the user interface is closed, the new action map must be sent to IDirectInputDevice8::SetActionMap before it can be implemented.
Using the data associated with the controls in an action map is described in Step 7: Retrieval of Action Mapped Data.