Skip to content

EnableDirectInput

Narta Xaymar Dirks edited this page Oct 30, 2026 · 6 revisions

Blitz3DBlitzBasic

EnableDirectInput

EnableDirectInput:Void enable:Int32
Parameter Mode Type Default Description
enable In Int32 required 1 to switch it on, 0 to switch it off.

Description

Switches the DirectInput setting on or off. In the original it chose between two ways of reading the keyboard and mouse. It is an undocumented command that old programs sometimes call at their start.

Differences

  • Only the value is remembered so that DirectInputEnabled can report it. Input is read the same way whatever it is set to.

Related Commands

DirectInputEnabled, HWRawInput, RawInput, RawInputEnabled

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally