Skip to content

EnableDirectInput

Narta Xaymar Dirks edited this page Nov 25, 2026 · 8 revisions

EnableDirectInput BlitzBasic

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 BlitzBasic, HWRawInput BlitzLLVM, RawInput BlitzLLVM, RawInputEnabled BlitzLLVM

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally