• allegro5.a5_display
  • allegro5.a5_file
  • allegro5.a5_font
  • allegro5.a5_image
  • allegro5.a5_joystick
  • allegro5.a5_main
  • allegro5.a5_misc
  • allegro5.a5_opengl
  • allegro5.a5_shader
  • allegro5.a5_sound
  • allegro5.a5_thread
  • allegro5.a5_triangles
  • animation
  • array
  • atlas
  • buffer
  • color
  • common
  • csg.csg_aabb
  • csg.csg
  • csg.csg_octree
  • csg.csg_shapes
  • csg.csg_test
  • data
  • display
  • exception
  • file
  • font
  • glsl
  • grid
  • hash
  • image
  • image_op
  • index
  • ini
  • isometric
  • joystick
  • keyboard
  • land
  • layer
  • list
  • log
  • main
  • map
  • mem
  • mouse
  • net
  • noise
  • openglutil
  • perlin
  • pixelmask
  • plasma
  • pool
  • protobuf
  • queue
  • random
  • runner
  • shader
  • sound
  • sprite
  • thread
  • tilegrid
  • triangles
  • util2d
  • util3d
  • util
  • view
  • voronoi
  • widget.base
  • widget.board
  • widget.book
  • widget.box
  • widget.button
  • widget.checkbox
  • widget.container
  • widget.edit
  • widget.gul
  • widget.hbox
  • widget.layout
  • widget
  • widget.menu
  • widget.mover
  • widget.panel
  • widget.scrollbar
  • widget.scrolling
  • widget.sizer
  • widget.slider
  • widget.spin
  • widget.text
  • widget.theme
  • widget.vbox
  • widget.widget_list
  • yaml.external
  • yaml.internal
  • yaml
  • yaml.xml

land.joystick

land_joystick_button_down_event

Parameters: int button

land_joystick_button_up_event

Parameters: int button

land_joystick_axis_event

Parameters: int a, float x

land_joystick_tick

no parameters

land_joystick_button

Parameters: int button

Returns: int

Is the Joystick button down during this tick. The button is a number between 1 inclusive and land_joystick_button_count() exclusive.

land_joystick_button_pressed

Parameters: int button

Returns: int

How often was the joystick button pressed in this tick (almost always will be either 0 or 1, except you can press your button very fast).

land_joystick_axis

Parameters: int a

Returns: float

The joystick axis position of the given axis. The axis is a number between 1 inclusive and land_joystick_axis_count() exclusive.

land_joystick_delta_axis

Parameters: int a

Returns: float

land_joystick_button_name

Parameters: int b

Returns: str

land_joystick_axis_name

Parameters: int a

Returns: str

land_joystick_button_count

no parameters

Returns: int

land_joystick_axis_count

no parameters

Returns: int

land_joystick_find_axis

Parameters: str name

Returns: int

land_joystick_find_button

Parameters: str name

Returns: int

land_joystick_debug

no parameters


Generated: Thu 27 Feb 2020 10:49:37 PM EST