Skip to content

KeyboardDeviceName

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

KeyboardDeviceName

KeyboardDeviceName:String device:Int32
Parameter Mode Type Default Description
device In Int32 required The keyboard to ask, counted from 0 in the order they were seen.

Returns: The name, or an empty string if there is no keyboard with that number.

Description

Tells the name of a keyboard, as the system gives it.

Differences

  • This is a BlitzLLVM extension: the original has no such command.

Examples

Graphics 320, 240, 0, 2
SetBuffer BackBuffer()
Cls
Text 10, 10, "First keyboard: " + KeyboardDeviceName(0)
Flip
WaitKey

Related Commands

KeyboardChanged, KeyboardDeviceConnected, KeyboardDeviceCount, LastKeyboardDevice

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally