panda3d.core.KeyboardButton

class KeyboardButton

This class is just used as a convenient namespace for grouping all of these handy functions that return buttons which map to standard keyboard keys.

Inheritance diagram

Inheritance diagram of KeyboardButton

__init__() → None
__init__(param0: KeyboardButton) → None
static asciiKey(ascii_equivalent: char) → ButtonHandle

Returns the ButtonHandle associated with the particular ASCII character, if there is one, or ButtonHandle.none() if there is not.

Return type

ButtonHandle

static space() → ButtonHandle
Return type

ButtonHandle

static backspace() → ButtonHandle
Return type

ButtonHandle

static tab() → ButtonHandle
Return type

ButtonHandle

static enter() → ButtonHandle
Return type

ButtonHandle

static escape() → ButtonHandle
Return type

ButtonHandle

static f1() → ButtonHandle
Return type

ButtonHandle

static f2() → ButtonHandle
Return type

ButtonHandle

static f3() → ButtonHandle
Return type

ButtonHandle

static f4() → ButtonHandle
Return type

ButtonHandle

static f5() → ButtonHandle
Return type

ButtonHandle

static f6() → ButtonHandle
Return type

ButtonHandle

static f7() → ButtonHandle
Return type

ButtonHandle

static f8() → ButtonHandle
Return type

ButtonHandle

static f9() → ButtonHandle
Return type

ButtonHandle

static f10() → ButtonHandle
Return type

ButtonHandle

static f11() → ButtonHandle
Return type

ButtonHandle

static f12() → ButtonHandle
Return type

ButtonHandle

static f13() → ButtonHandle

PC keyboards don’t have these four buttons, but Macs do.

Return type

ButtonHandle

static f14() → ButtonHandle
Return type

ButtonHandle

static f15() → ButtonHandle
Return type

ButtonHandle

static f16() → ButtonHandle
Return type

ButtonHandle

static left() → ButtonHandle
Return type

ButtonHandle

static right() → ButtonHandle
Return type

ButtonHandle

static up() → ButtonHandle
Return type

ButtonHandle

static down() → ButtonHandle
Return type

ButtonHandle

static pageUp() → ButtonHandle
Return type

ButtonHandle

static pageDown() → ButtonHandle
Return type

ButtonHandle

static home() → ButtonHandle
Return type

ButtonHandle

static end() → ButtonHandle
Return type

ButtonHandle

static insert() → ButtonHandle
Return type

ButtonHandle

static help() → ButtonHandle

delete is a C++ keyword.

Return type

ButtonHandle

static menu() → ButtonHandle
Return type

ButtonHandle

static shift() → ButtonHandle
Return type

ButtonHandle

static control() → ButtonHandle
Return type

ButtonHandle

static alt() → ButtonHandle
Return type

ButtonHandle

static meta() → ButtonHandle
Return type

ButtonHandle

static capsLock() → ButtonHandle
Return type

ButtonHandle

static shiftLock() → ButtonHandle
Return type

ButtonHandle

static numLock() → ButtonHandle
Return type

ButtonHandle

static scrollLock() → ButtonHandle
Return type

ButtonHandle

static printScreen() → ButtonHandle
Return type

ButtonHandle

static pause() → ButtonHandle
Return type

ButtonHandle

static lshift() → ButtonHandle
Return type

ButtonHandle

static rshift() → ButtonHandle
Return type

ButtonHandle

static lcontrol() → ButtonHandle
Return type

ButtonHandle

static rcontrol() → ButtonHandle
Return type

ButtonHandle

static lalt() → ButtonHandle
Return type

ButtonHandle

static ralt() → ButtonHandle
Return type

ButtonHandle

static lmeta() → ButtonHandle
Return type

ButtonHandle

static rmeta() → ButtonHandle
Return type

ButtonHandle