c3d.keyboard

The keyboard module is used for checking for inputs and interactions from the user

is_down(...)checks whether the inputed keys are currently held down
has_text_input()returns whether the c3d.textinput,c3d.textinput event is enabled
set_text_input(enable)sets whether the c3d.textinput,c3d.textinput event is enabled
is_down(...)Source

checks whether the inputed keys are currently held down

Parameters

  1. ... string the keys to check

Returns

  1. boolean whether the keys are held down
has_text_input()Source

returns whether the c3d.textinput,c3d.textinput event is enabled

Returns

  1. boolean whether textinput event is enabled
set_text_input(enable)Source

sets whether the c3d.textinput,c3d.textinput event is enabled

Parameters

  1. enable boolean whether to enable the textinput event