KeyboardButton

from acron.core import KeyboardButton
class KeyboardButton

Bases:

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=""]; }
__init__()
static _del()

delete is a C++ keyword.

static alt()
static ascii_key()

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

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

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

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

delete is a C++ keyword.

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