cl-gamepad

API Reference

cl-gamepad

Bindings to libstem_gamepad, allowing the handling of gamepad input.

CL-GAMEPAD-CFFI

  • Variable DEVICE-MAP-MAX
    64
  • Cffi-Enum BUTTON
  • Cffi-Enum AXIS
  • Cffi-Struct DEVICE
  • Class DEVICE  (FOREIGN-STRUCT-TYPE, TRANSLATABLE-FOREIGN-TYPE)
    No slots.
  • Function DEVICE-ID (pointer-to-device)
  • Function (setf DEVICE-ID) (value pointer-to-device)
  • Function DEVICE-DESCRIPTION (pointer-to-device)
  • Function (setf DEVICE-DESCRIPTION) (value pointer-to-device)
  • Function DEVICE-VENDOR (pointer-to-device)
  • Function (setf DEVICE-VENDOR) (value pointer-to-device)
  • Function DEVICE-PRODUCT (pointer-to-device)
  • Function (setf DEVICE-PRODUCT) (value pointer-to-device)
  • Function DEVICE-AXIS-COUNT (pointer-to-device)
  • Function (setf DEVICE-AXIS-COUNT) (value pointer-to-device)
  • Function DEVICE-BUTTON-COUNT (pointer-to-device)
  • Function (setf DEVICE-BUTTON-COUNT) (value pointer-to-device)
  • Function DEVICE-AXIS-STATES (pointer-to-device)
  • Function (setf DEVICE-AXIS-STATES) (value pointer-to-device)
  • Function DEVICE-BUTTON-STATES (pointer-to-device)
  • Function (setf DEVICE-BUTTON-STATES) (value pointer-to-device)
  • Function DEVICE-DEVICE-MAP (pointer-to-device)
  • Function (setf DEVICE-DEVICE-MAP) (value pointer-to-device)
  • Function DEVICE-PRIVATE-DATA (pointer-to-device)
  • Function (setf DEVICE-PRIVATE-DATA) (value pointer-to-device)
  • Cffi-Struct DEVICE-MAP
  • Class DEVICE-MAP  (FOREIGN-STRUCT-TYPE, TRANSLATABLE-FOREIGN-TYPE)
    No slots.
  • Function DEVICE-MAP-BUTTONS (device-map)
  • Function DEVICE-MAP-AXES (device-map)
  • Function DEVICE-MAP-AXIS-MULTIPLIERS (device-map)
  • Function DEVICE-ATTACHED (device)
  • Function DEVICE-REMOVED (device)
  • Function BUTTON-PRESSED (button time device)
  • Function BUTTON-RELEASED (button time device)
  • Function AXIS-MOVED (axis last-value value time device)
  • Cffi-Function GAMEPAD-INIT
  • Function GAMEPAD-INIT
  • Cffi-Function GAMEPAD-SHUTDOWN
  • Function GAMEPAD-SHUTDOWN
  • Cffi-Function GAMEPAD-NUM-DEVICES
  • Function GAMEPAD-NUM-DEVICES
  • Cffi-Function GAMEPAD-DEVICE-AT-INDEX
  • Function GAMEPAD-DEVICE-AT-INDEX (device-index)
  • Cffi-Function GAMEPAD-DEVICE-MAP
  • Function GAMEPAD-DEVICE-MAP (vendor-id product-id)
  • Cffi-Function GAMEPAD-SET-DEVICE-MAP
  • Function GAMEPAD-SET-DEVICE-MAP (vendor-id product-id map)
  • Cffi-Function GAMEPAD-DETECT-DEVICES
  • Function GAMEPAD-DETECT-DEVICES
  • Cffi-Function GAMEPAD-PROCESS-EVENTS
  • Function GAMEPAD-PROCESS-EVENTS
  • Cffi-Function GAMEPAD-DEVICE-ATTACH-FUNC
  • Function GAMEPAD-DEVICE-ATTACH-FUNC (callback context)
  • Cffi-Function GAMEPAD-DEVICE-REMOVE-FUNC
  • Function GAMEPAD-DEVICE-REMOVE-FUNC (callback context)
  • Cffi-Function GAMEPAD-BUTTON-DOWN-FUNC
  • Function GAMEPAD-BUTTON-DOWN-FUNC (callback context)
  • Cffi-Function GAMEPAD-BUTTON-UP-FUNC
  • Function GAMEPAD-BUTTON-UP-FUNC (callback context)
  • Cffi-Function GAMEPAD-AXIS-MOVE-FUNC
  • Function GAMEPAD-AXIS-MOVE-FUNC (callback context)
  • Function AXIS (device axis)
  • Function BUTTON (device button)
  • Function DEVICE (index)
  • Function DEVICE-MAP (vendor product)
  • Function (setf DEVICE-MAP) (map vendor product)

CL-GAMEPAD

  • Condition INDEX-OUT-OF-RANGE  (ERROR)
  • Function ID (device)
  • Function VENDOR (device)
  • Function PRODUCT (device)
  • Function DESCRIPTION (device)
  • Function AXIS-COUNT (device)
  • Function BUTTON-COUNT (device)
  • Function DEVICE-COUNT
  • Function DETECT-DEVICES
  • Function PROCESS-EVENTS
  • Function AXIS-LABEL (device axis)
  • Function AXIS-MULTIPLIER (device axis)
  • Function AXES (device)
  • Function BUTTON-LABEL (device button)
  • Function BUTTONS (device)
  • Function DEVICE-PLIST (device)
  • Function INIT
  • Function SHUTDOWN
  • Function DEVICES
  • Function PRINT-DEVICE (device stream)
  • Function UPDATE-DEVICE-MAP (vendor product update)
  • Macro DEFINE-GAMEPAD (name (vendor product &key inherit) &body map)
  • Function GAMEPAD-DEFINITION (device)

Also exports

  • CL-GAMEPAD-CFFI:DEVICE-ATTACHED
  • CL-GAMEPAD-CFFI:BUTTON-PRESSED
  • CL-GAMEPAD-CFFI:AXIS
  • CL-GAMEPAD-CFFI:DEVICE-REMOVED
  • CL-GAMEPAD-CFFI:DEVICE-MAP
  • CL-GAMEPAD-CFFI:DEVICE
  • CL-GAMEPAD-CFFI:AXIS-MOVED
  • CL-GAMEPAD-CFFI:BUTTON-RELEASED
  • CL-GAMEPAD-CFFI:BUTTON

cl-gamepad-visualizer

No packages.