Skip to content

EnableDirectInput

Claude edited this page Oct 27, 2026 · 8 revisions

Blitz3DBlitzBasic

EnableDirectInput

EnableDirectInput enable:Int32
Parameter Type Default Description
enable 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, FlushMouse, GetMouse

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally