Panda3D
Public Member Functions | Static Public Member Functions | List of all members
KeyboardButton Class Reference

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. More...

Public Member Functions

 __init__ ()
 
 __init__ (const KeyboardButton)
 

Static Public Member Functions

static ButtonHandle alt ()
 
static ButtonHandle asciiKey (char ascii_equivalent)
 Returns the ButtonHandle associated with the particular ASCII character, if there is one, or ButtonHandle::none() if there is not. More...
 
static ButtonHandle backspace ()
 
static ButtonHandle capsLock ()
 
static ButtonHandle control ()
 
static ButtonHandle del ()
 
static ButtonHandle down ()
 
static ButtonHandle end ()
 
static ButtonHandle enter ()
 
static ButtonHandle escape ()
 
static ButtonHandle f1 ()
 
static ButtonHandle f10 ()
 
static ButtonHandle f11 ()
 
static ButtonHandle f12 ()
 
static ButtonHandle f13 ()
 
static ButtonHandle f14 ()
 
static ButtonHandle f15 ()
 
static ButtonHandle f16 ()
 
static ButtonHandle f2 ()
 
static ButtonHandle f3 ()
 
static ButtonHandle f4 ()
 
static ButtonHandle f5 ()
 
static ButtonHandle f6 ()
 
static ButtonHandle f7 ()
 
static ButtonHandle f8 ()
 
static ButtonHandle f9 ()
 
static ButtonHandle help ()
 
static ButtonHandle home ()
 
static ButtonHandle insert ()
 
static ButtonHandle lalt ()
 
static ButtonHandle lcontrol ()
 
static ButtonHandle left ()
 
static ButtonHandle lmeta ()
 
static ButtonHandle lshift ()
 
static ButtonHandle menu ()
 
static ButtonHandle meta ()
 
static ButtonHandle numLock ()
 
static ButtonHandle pageDown ()
 
static ButtonHandle pageUp ()
 
static ButtonHandle pause ()
 
static ButtonHandle printScreen ()
 
static ButtonHandle ralt ()
 
static ButtonHandle rcontrol ()
 
static ButtonHandle right ()
 
static ButtonHandle rmeta ()
 
static ButtonHandle rshift ()
 
static ButtonHandle scrollLock ()
 
static ButtonHandle shift ()
 
static ButtonHandle shiftLock ()
 
static ButtonHandle space ()
 
static ButtonHandle tab ()
 
static ButtonHandle up ()
 

Detailed Description

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.

Member Function Documentation

◆ __init__() [1/2]

__init__ ( )

◆ __init__() [2/2]

__init__ ( const  KeyboardButton)

◆ alt()

static ButtonHandle alt ( )
static

◆ asciiKey()

static ButtonHandle asciiKey ( char  ascii_equivalent)
static

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

◆ backspace()

static ButtonHandle backspace ( )
static

◆ capsLock()

static ButtonHandle capsLock ( )
static

◆ control()

static ButtonHandle control ( )
static

◆ del()

static ButtonHandle del ( )
static

◆ down()

static ButtonHandle down ( )
static

◆ end()

static ButtonHandle end ( )
static

◆ enter()

static ButtonHandle enter ( )
static

◆ escape()

static ButtonHandle escape ( )
static

◆ f1()

static ButtonHandle f1 ( )
static

◆ f10()

static ButtonHandle f10 ( )
static

◆ f11()

static ButtonHandle f11 ( )
static

◆ f12()

static ButtonHandle f12 ( )
static

◆ f13()

static ButtonHandle f13 ( )
static

◆ f14()

static ButtonHandle f14 ( )
static

◆ f15()

static ButtonHandle f15 ( )
static

◆ f16()

static ButtonHandle f16 ( )
static

◆ f2()

static ButtonHandle f2 ( )
static

◆ f3()

static ButtonHandle f3 ( )
static

◆ f4()

static ButtonHandle f4 ( )
static

◆ f5()

static ButtonHandle f5 ( )
static

◆ f6()

static ButtonHandle f6 ( )
static

◆ f7()

static ButtonHandle f7 ( )
static

◆ f8()

static ButtonHandle f8 ( )
static

◆ f9()

static ButtonHandle f9 ( )
static

◆ help()

static ButtonHandle help ( )
static

◆ home()

static ButtonHandle home ( )
static

◆ insert()

static ButtonHandle insert ( )
static

◆ lalt()

static ButtonHandle lalt ( )
static

◆ lcontrol()

static ButtonHandle lcontrol ( )
static

◆ left()

static ButtonHandle left ( )
static

◆ lmeta()

static ButtonHandle lmeta ( )
static

◆ lshift()

static ButtonHandle lshift ( )
static

◆ menu()

static ButtonHandle menu ( )
static

◆ meta()

static ButtonHandle meta ( )
static

◆ numLock()

static ButtonHandle numLock ( )
static

◆ pageDown()

static ButtonHandle pageDown ( )
static

◆ pageUp()

static ButtonHandle pageUp ( )
static

◆ pause()

static ButtonHandle pause ( )
static

◆ printScreen()

static ButtonHandle printScreen ( )
static

◆ ralt()

static ButtonHandle ralt ( )
static

◆ rcontrol()

static ButtonHandle rcontrol ( )
static

◆ right()

static ButtonHandle right ( )
static

◆ rmeta()

static ButtonHandle rmeta ( )
static

◆ rshift()

static ButtonHandle rshift ( )
static

◆ scrollLock()

static ButtonHandle scrollLock ( )
static

◆ shift()

static ButtonHandle shift ( )
static

◆ shiftLock()

static ButtonHandle shiftLock ( )
static

◆ space()

static ButtonHandle space ( )
static

◆ tab()

static ButtonHandle tab ( )
static

◆ up()

static ButtonHandle up ( )
static