Package bpy :: Module types :: Class KeyboardSensor
[hide private]
[frames] | no frames]

Class KeyboardSensor


The Keyboard Sensor Object

Sensor to detect keyboard events.

(no references to this struct found)

Instance Variables [hide private]
boolean all_keys
Trigger this sensor on any keystroke.
int in [0, 10000] frequence
Delay between repeated pulses(in logic tics, 0=no delay). (Inherited from bpy.types.Sensor)
boolean invert
Invert the level(output) of this sensor. (Inherited from bpy.types.Sensor)
int (readonly) in [0, 255] key
Input key code.
boolean level
Level detector, trigger controllers of new states(only applicable upon logic state transition). (Inherited from bpy.types.Sensor)
string log
Property that receive the keystrokes in case a string is logged.
int (readonly) in [0, 255] modifier_key
Modifier key code.
string name
Sensor name. (Inherited from bpy.types.Sensor)
boolean pulse_false_level
Activate FALSE level triggering (pulse mode). (Inherited from bpy.types.Sensor)
boolean pulse_true_level
Activate TRUE level triggering (pulse mode). (Inherited from bpy.types.Sensor)
int (readonly) in [0, 255] second_modifier_key
Modifier key code.
string target
Property that indicates whether to log keystrokes as a string.
enum (readonly) type
Type in... (Inherited from bpy.types.Sensor)
Instance Variable Details [hide private]

log

Property that receive the keystrokes in case a string is logged. (maximum length of 32)
Type:
string

target

Property that indicates whether to log keystrokes as a string. (maximum length of 32)
Type:
string