Adding hotkey controls to turn your avatar
Last updated
Last updated
The following solution uses third-party software which is not verified or endorsed by ENGAGE XR.
By default, there are no keyboard controls to turn your avatar in ENGAGE. Instead, on a desktop device, you use the mouse to change the direction in which your avatar faces. However, you can use third-party software to simulate mouse drags so that you can fully navigate in ENGAGE using only the keyboard.
One example of third-party software that you could use is AutoHotkey (). You can use it to assign a simulated drag operation to a keyboard shortcut. The following AutoHotkey script assigns a left drag to the Shift+A shortcut, and a right-drag to the Shift+D shortcut:
AutoHotkey enables keyboard and mouse events to be executed on your computer as though you were the one that performed them. We recommend that you only use scripts that you fully understand.
Open a text editor, such as Notepad.
Copy the code above into a new text document, and then save it with a .ahk
extension. For example engage_keyboard_turn.ahk
Find the script in Windows Explorer, and then double click it to run the script. Alternatively, select the script and then press the Enter key to run it.
In a Session, ensure that the mouse cursor is within the ENGAGE window. Then, hold down the Shift key and press the A key to turn left or the D key to turn right.
SendMode "Event"
sets a simulation mode that creates a slow, noticeable drag event. Without it, the drag would not be recognized by ENGAGE.
Install AutoHotkey. For more information, refer to .
The script runs and an icon is added to the system tray. To stop the script, right-click the icon in the system tray, and then select Exit. For more information about how to create, run, and control scripts, refer to in the AutoHotkey documentation.
The +a::
and +d::
parts define the shortcut keys. The plus symbol indicates the Shift key. You can define any other key combination. You can replace the plus symbol with #
for the Windows key, ^
for the Ctrl key, or !
for the Alt key. For more information about defining the hotkey, refer to .
MouseClickDrag
is the command that simulates the mouse being dragged. It is configured to simulate the left mouse button being held, and then dragged 200 pixels left (-200) or right (200). For more information about the available parameters, refer to in the AutoHotkey documentation.