## PPJoyKey virtual joystick

PPJoyKey is an application to convert keystrokes into Windows joystick input via the PPJoy Virtual Joystick interface. Below is a screenshot of PPJoyKey:

### Selecting a Virtual Joystick

The drop-down list next to Joystick device selects the virtual joystick to use. The list contains all possible virtual joystick names; it does not detect which virtual joysticks are actually configured in PPJoy. You need to configure at least one virtual joystick in PPJoy. (See Adding a new joystick or gamepad.)

The text to the right of the drop-down list displays the status of the selected virtual joystick.

### Selecting keystrokes for the joystick movements

Below the virtual joystick are drop-down list are 8 axis and 16 button drop-down lists. The label next to each drop-down list indicate to which action the keystroke would be translated given the default PPJoy mapping. (See Changing button and axis the mapping .)

As soon as you select a new value from a drop-down list it will take effect. These lists contain all the DirectInput keyboard constants; some of them may not apply to your system.

Note that PPJoyKey does not remove any keystrokes from the input queue - whether they generate joystick movements or not.

Click on the Scan button next to a drop-down list to read a keypress and set the drop-down list to that value. If there is no key pressed when you click on Scan the following dialog will be displayed:

If a key is already pressed when you click on Scan no dialog box will be displayed and the keypress will immediately be used as the new value for the drop-down box.

### Loading and saving the configuration

PPJoyKey allows you to load and save the configuration to .INI files. You can also load an .ini file on startup by specifying it on the command-line when starting PPJoyKey. For example `PPJoyKey.exe C:\Config\PPJoyKey.ini` will automatically attempt to load C:\Config\PPJoyKey.ini on startup. If the config file is in the current directory you need to add ".\" in front of it. For example `PPJoyKey.ini` becomes `.\PPJoyKey.ini`.

### Additional notes

- Each instance of PPJoyKey feeds data for a single virtual joystick. You can run multiple copies of PPJoyKey if you need to emulate more than joystick.
- The PPJoyKey application must be running while you use the virtual (keyboard) joystick. You can however minimise it to the taskbar.