Skip to content

KeyboardDeviceName

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

KeyboardDeviceName BlitzLLVM

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

BlitzLLVM This command does not exist in the original Blitz products. BlitzLLVM adds it.

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 BlitzLLVM, KeyboardDeviceConnected BlitzLLVM, KeyboardDeviceCount BlitzLLVM, LastKeyboardDevice BlitzLLVM

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally