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

digraph inheritance5af8000876 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "KeyboardButton" [URL="acron.core.KeyboardButton.html#acron.core.KeyboardButton",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "KeyboardButton" [arrowsize=0.75,style=""]; }
KeyboardButton.__init__()
static KeyboardButton._del()

delete is a C++ keyword.

static KeyboardButton.alt()
static KeyboardButton.ascii_key()

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

static KeyboardButton.backspace()
static KeyboardButton.caps_lock()
static KeyboardButton.control()
static KeyboardButton.down()
static KeyboardButton.end()
static KeyboardButton.enter()
static KeyboardButton.escape()
static KeyboardButton.f1()
static KeyboardButton.f10()
static KeyboardButton.f11()
static KeyboardButton.f12()
static KeyboardButton.f13()

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

static KeyboardButton.f14()
static KeyboardButton.f15()
static KeyboardButton.f16()
static KeyboardButton.f2()
static KeyboardButton.f3()
static KeyboardButton.f4()
static KeyboardButton.f5()
static KeyboardButton.f6()
static KeyboardButton.f7()
static KeyboardButton.f8()
static KeyboardButton.f9()
static KeyboardButton.help()

delete is a C++ keyword.

static KeyboardButton.home()
static KeyboardButton.insert()
static KeyboardButton.lalt()
static KeyboardButton.lcontrol()
static KeyboardButton.left()
static KeyboardButton.lmeta()
static KeyboardButton.lshift()
static KeyboardButton.menu()
static KeyboardButton.meta()
static KeyboardButton.num_lock()
static KeyboardButton.page_down()
static KeyboardButton.page_up()
static KeyboardButton.pause()
static KeyboardButton.print_screen()
static KeyboardButton.ralt()
static KeyboardButton.rcontrol()
static KeyboardButton.right()
static KeyboardButton.rmeta()
static KeyboardButton.rshift()
static KeyboardButton.scroll_lock()
static KeyboardButton.shift()
static KeyboardButton.shift_lock()
static KeyboardButton.space()
static KeyboardButton.tab()
static KeyboardButton.up()