DirectInputEnabled()

Parameters

None.

Description

Returns true if DirectInput is enabled otherwise false.

Until v1.79 Blitz used DirectInput for mouse and keyboard handling, now it just uses standard Windows messages. This came about due to a few reports from end-users of games written in Blitz who suffered mouse/keyboard lockups.

See also: EnableDirectInput.

Example

; DirectInputEnabled

EnableDirectInput 1 ;enable

Print "DirectInput="+(DirectInputEnabled())

WaitKey()
End

Index

Click here to view the latest version of this page online