gamelib.input

module ‘gamelib.input’

Source file: 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): any_type -> _undocumented_
  function get_mouse_pos()
  function get_joystick_axis(arg0): any_type -> _undocumented_
  value buttonIds
  value buttonNames
}
function get_button_state(arg0)
Arguments
  • arg0 (any_type()) – autodoc from typemask/paramscheck

nparamscheck:2

typecheck mask: any_type

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

nparamscheck:2

typecheck mask: any_type

buttonIds
buttonNames