| Message | Cause | What to do |
InputDeviceDriver: '<name>' Failed to load InputDeviceAPI. <reason> (error) | The InputDeviceAPI shared library (the driver's default library; interfaceAPILib may name another) was not found or could not be loaded. The reason is one of: API library not found, <path>; Dependency DLL missing; Exported function missing; Wrong architecture (32/64 mismatch); DLL Initialization failed; on Linux Failed to load library: .... | Put InputDeviceAPI.dll (Windows) or libInputDeviceAPI.so (Linux, searched in the working directory) next to the executable; the build copies it there. Make sure 32/64-bit matches the engine. On Windows the DLL needs the DirectInput runtime (dinput8, part of Windows). |
InputDeviceDriver: '<name>' API init failed. <status> (error) | The API library was loaded but its initialization failed. On Windows the status reads like DirectInput8Create failed (0x... <text>). | Reinstall / repair DirectInput (Windows), check that the process is not restricted (service session without desktop). On Linux check the message text. |
InputDeviceDriver: '<name>' attached input devices: <n> (info, with listDevices) | List of the devices that were found. With 0 a second line shows the reason, for example No accessible joystick. Permission denied on /dev/input/event*. | If the device you expect is missing, see section 4. |
InputDeviceDriver: '<name>' open device failed. No game controller / joystick attached (error) | Enumeration found no device at all. | Plug the device, check it in the Windows "Set up USB game controllers" dialog (joy.cpl) or with evtest on Linux. |
InputDeviceDriver: '<name>' open device failed. Device '<device>' (match #<n>) not found. Attached devices: [#<i> '<name>' <VID>:<PID>] ... (error) | The device string matches none of the attached devices (or fewer than deviceIndex + 1 match). The message already lists what is attached. | Copy a name part, the VID:PID or #index from the list. See section 3. |
InputDeviceDriver: '<name>' open device failed. CreateDevice failed (0x... <text>) / SetCooperativeLevel failed ... / EnumObjects failed ... / SetDataFormat (custom object format) failed ... / Acquire failed ... / Device instance not found in enumeration / Device has no axes, buttons or POVs (Windows, error) | DirectInput refused the step named in the text. The text after the hex code is one of: input lost, not acquired, unplugged, access denied / other application has priority, invalid parameter, not initialized, device not registered, no interface, unknown error. The device was unplugged between listing and opening, or it is a device with no usable objects (for example a keyboard-like HID). | Replug the device, close vendor software that holds it, try another USB port. Devices without axes / buttons / POVs cannot be used. |
InputDeviceDriver: '<name>' open device failed. open(</dev/input/eventN>) failed: <reason> and ... Cannot open /dev/input and No accessible joystick. Permission denied on /dev/input/event* (add the user to the 'input' group or add a udev rule) (Linux, error) | The evdev files cannot be read by the user that runs the engine. | Add the user to the input group (log out / in) or add a udev rule giving the device read permission. Run as root only to test. |
InputDeviceDriver: '<name>' opened '<product>' (VID:PID XXXX:YYYY) axes:<a> buttons:<b> POVs:<p> (info) | The device was opened (also printed after a reconnect together with device reconnected). | Check that the counts are what you expect. |
InputDeviceDriver: '<name>' input '<key>' (mapped to '<element>') does not exist on device '<product>' (error) | A block key such as ZRotation, Slider1, POV1 or Button40 is not an input of the opened device. Collective keys (Buttons, Axes, POVs, Sliders) are not checked: inputs that the device does not have stay 0 (POVs centered). | Use listInputs and use only the keys that are printed. Remember that the stick and the throttle of a HOTAS are often two separate devices. |
InputDeviceDriver: '<name>' device '<product>' lost. <status> (error, printed once) | The device was unplugged or DirectInput lost it while the engine runs (unplugged, input lost, Acquire failed, GetDeviceState failed; Linux: read failed: ...). | Replug the device. The driver tries to reopen it every reconnectMS and prints device reconnected; see section 5. |
InputDeviceDriver: '<name>' device reconnected (info) | The device came back and was reopened. | Nothing to do. The block values are written again on the next frame. |
InputDeviceDriver: '<name>' no device open. <text> / API library not loaded (info) | Output of the listInputs / listing function when the device or the library is not available. | Fix the earlier open / load error. |
InputDeviceStream: stream '<name>' block '<block>' direction must be "in" for input devices (error) | The block has "direction": "out". Force feedback / output is not supported. | Use "direction": "in". |
InputDeviceStream: stream '<name>' block '<block>' unknown input '<key>'. Use XAxis, YAxis, ZAxis, XRotation, YRotation, ZRotation, Slider0, Slider1, POV0.., Button0.., Axes, Buttons, POVs, Sliders, Buttons[n], Axes[n], POVs[n], Sliders[n] (error) | A key in the block is not a known input (typo, or an indexed key above the device maximum). Keys are not case sensitive and spaces, _ and - are ignored. Also accepted: X, Y, Z, RX, RY, RZ, Rudder / Twist (= RZ), Throttle / Slider (= Slider0), Hat, Hats, Btn<n>. | Correct the key. Other block keys (raw, direction, framePerMS, rawout, headerMarker, rawcounterbyte, model, function, comment, description, enabled) are not treated as inputs. |
InputDeviceStream: stream '<name>' input '<key>' missing "element" (error) | The input is written as an object but has no element. | Add "element": "Name". |
InputDeviceStream: stream '<name>' input '<key>' value must be an element name or an object (error) | The value is a number, boolean or array. | Use "Element" or { "element": "...", ... }. |
InputDeviceStream: stream '<name>' input '<key>' bad element index syntax '<text>' (error) | An element like Name[3 has no closing bracket. | Write Name[3]. |
InputDeviceStream: stream '<name>' invalid block raw name '<raw>' (expected LRU.Block) (error) | The block's raw does not have the form LRU.Block. | Use the LRU and block names from your ICD. |
InputDeviceStream: stream '<name>' LRU '<lru>' not found for element '<element>' and ... element '<element>' not found in LRU '<lru>' (error) | The element name in the mapping is not in the database. A bare name is looked up inside the block's own LRU and block (Block.Element); Block.Element and LRU.Block.Element are also accepted. | Check the spelling against the ICD / generated LRU. |
InputDeviceStream: stream '<name>' input '<key>' element '<element>' invalid item size (<bits> bits, <count> items, element <n> bits) (error) | For array elements the item size could not be worked out (itemBits/count do not fit the element, or items bigger than 64 bits). | Give "itemBits" and/or "count" in the object form (see the Input Device Driver fields in the Streams manual). |
InputDeviceStream: stream '<name>' input '<key>' unknown format '<f>' (float, double, int, raw) (error) | Bad format value. index, index8 and degrees are accepted too. | Use float, double, int or raw. |
InputDeviceStream: stream '<name>' input '<key>' element '<element>' is <bits> bits, float formats need 32/64 bits. Using int (warning) | A float / double format was requested for an element that is not 32 / 64 bits. The value is stored as an integer instead. | Use a float32 / float64 element for axes, or choose int and set scale / offset. |
InputDeviceStream: stream '<name>' input '<key>' element '<element>' item <n> out of range (0..<max>) (error) | The array element is smaller than the index: for example Button40 into an array of 32. | Enlarge the array in the ICD, or use the indexed key / index that fits. |
InputDeviceStream: stream '<name>' block '<block>' has no input mappings (e.g. "XAxis": "XaxisPos") (warning) | The block has no input key at all (for example the keys are misspelled as nested inside another object). | Add keys to the block itself. |
InputDeviceStream: stream '<name>' block '<block>' multiple raws, only the first is used (warning) | raw lists more than one block. | Use one input block per mapped block; add more blocks to the stream instead. |
| Symptom | Cause | Fix |
| Axis value is -1..1 but the ICD expects another range | Float / double axis values are normalized to -1..1 (listInputs prints both the raw range and the normalized value). An integer element gets round(normalized × scale + offset). | Use "scale" and "offset" in the object form, or "format": "raw" to get the device raw value (for example 0..65535). |
| Axis reads wrong direction | The device axis is reversed. | Add "invert": true (also works for buttons and for the raw format). |
| Stick at rest shows a small value / jitter | Mechanical centre offset, or noisy potentiometer. | Set a dead zone: "deadzone" in the driver (default for all axes, 0..0.99) or per input in the object form. The value is cut to 0 inside the dead zone and rescaled outside it. Note that the dead zone is applied to the normalized value, before scale. |
| Throttle / slider is wrong or missing | On Windows throttles are often reported as Slider0 / Slider1 or as ZAxis, depending on the vendor driver. Names such as Throttle are aliases of Slider0. | Use listInputs and the printed config key. |
| Wrong button is triggered / button numbering is off by one | Buttons are numbered from 0 (Button0), while vendor tools and games usually count from 1. Collective "Buttons": "ButtonStatus" maps device ButtonN to ButtonStatus[N]. On Linux the numbering follows the order of the evdev button codes of the device, which can differ from the Windows order. | Use reportChanges to learn the number by pressing the button. Re-check numbers when moving between Windows and Linux. |
| Button element gets 0/1 but the ICD expects another value | Integer buttons are 0 or 1; a float element gets 0.0 or 1.0 times scale plus offset. | Use scale / offset or invert. |
| POV hat value is unexpected | Default for an integer element is the 8-way index 0..7 (clockwise from up, N = 0), 8 = centered. A float element gets degrees (centered gives -1.0). "format": "raw" gives centi-degrees, -1 when centered. | Choose the element type and format that match the ICD. Use "degrees" / "index" as format names if clearer. |
Collective Buttons / Axes reports only part of the buttons | The mapping stops at the smaller of the element array size and the device maximum. | Enlarge the ICD array, or map individual buttons with Button<n>. |
The input device is read on the stream's read cycle. For input blocks framePerMS should usually be -1: