package gamepad

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type button

Abstract button type. See button_is_pressed.

val button_is_pressed : button -> bool

Is a button pressed?

class type t = object ... end

A gamepad

val get : unit -> t Js.t Js.js_array Js.t

Get all the gamepads available.

OCaml

Innovation. Community. Security.