gamelib.input

module ‘gamelib.input’

Source files:

prog/tools/dargbox/gamelib/input.cpp

Usage:

let { get_button_state, get_mouse_pos, get_joystick_axis, buttonIds, buttonNames } = require("gamelib.input")

or:

from "gamelib.input" import *
//'gamelib.input' exports:
{
  function get_button_state(arg0): integer_or_float or string -> _undocumented_
  function get_mouse_pos()
  function get_joystick_axis(arg0): integer_or_float -> _undocumented_
  value buttonIds
  value buttonNames
}
function get_button_state(arg0)
Arguments:
  • arg0 (integer_or_float or string()) – autodoc from typemask/paramscheck

nparamscheck:2

typecheck mask: any_type, integer_or_float or string

function get_mouse_pos()
function get_joystick_axis(arg0)
Arguments:
  • arg0 (integer_or_float()) – autodoc from typemask/paramscheck

nparamscheck:2

typecheck mask: any_type, integer_or_float

buttonIds
buttonNames