Package pyjsdl :: Module key :: Class Key

Class Key

object --+
         |
        Key

pyjsdl.key

Instance Methods
 
__init__(self)
Provides methods to access the key function.
 
name(self, keycode)
Return name of key of a keycode.
 
get_mods(self)
Return int modifier keys alt|ctrl|shift.
 
set_repeat(self, delay=0, interval=0)
Set key repeat delay (ms) and interval (ms) settings. Key repeat initially disabled.
 
get_repeat(self)
Get key repeat settings.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

 

Provides methods to access the key function.

Module initialization creates pyjsdl.key instance.

Overrides: object.__init__