The cl-gamepad Reference Manual

This is the cl-gamepad Reference Manual, version 3.0.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 04:55:31 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 cl-gamepad

Portability library for gamepad and joystick access.

Maintainer

Yukari Hafner <>

Author

Yukari Hafner <>

Home Page

https://Shirakumo.github.io/cl-gamepad/

Source Control

(GIT https://github.com/Shirakumo/cl-gamepad.git)

Bug Tracker

https://github.com/Shirakumo/cl-gamepad/issues

License

zlib

Version

3.0.0

Defsystem Dependency

trivial-features (system).

Dependencies
  • cffi (system).
  • documentation-utils (system).
Source

cl-gamepad.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 cl-gamepad/cl-gamepad.asd

Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).

ASDF Systems

cl-gamepad.


3.1.2 cl-gamepad/package.lisp

Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).

Packages

3.1.3 cl-gamepad/protocol.lisp

Dependency

package.lisp (file).

Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).

Public Interface
Internals

3.1.4 cl-gamepad/mapping.lisp

Dependency

protocol.lisp (file).

Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).

Public Interface
Internals

3.1.5 cl-gamepad/configurator.lisp

Dependency

mapping.lisp (file).

Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).

Public Interface
Internals

3.1.6 cl-gamepad/common.lisp

Dependency

configurator.lisp (file).

Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).

Internals

3.1.7 cl-gamepad/evdev-cffi.lisp

If Feature

:linux

Dependency

common.lisp (file).

Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).

Internals

3.1.8 cl-gamepad/linux.lisp

If Feature

:linux

Dependencies
Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).

Public Interface
Internals

3.1.9 cl-gamepad/win32-cffi.lisp

If Feature

:windows

Dependencies
Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).


3.1.10 cl-gamepad/xinput-cffi.lisp

If Feature

:windows

Dependencies
Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).


3.1.11 cl-gamepad/dinput-cffi.lisp

If Feature

:windows

Dependencies
Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).


3.1.12 cl-gamepad/windows.lisp

If Feature

:windows

Dependencies
Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).


3.1.13 cl-gamepad/corefoundation-cffi.lisp

If Feature

:darwin

Dependencies
Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).


3.1.14 cl-gamepad/iokit-cffi.lisp

If Feature

:darwin

Dependencies
Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).


3.1.15 cl-gamepad/darwin.lisp

If Feature

:darwin

Dependencies
Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).


3.1.16 cl-gamepad/nx-cffi.lisp

If Feature

:nx

Dependencies
Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).


3.1.17 cl-gamepad/nx.lisp

If Feature

:nx

Dependencies
Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).


3.1.18 cl-gamepad/default-device-mappings.lisp

Dependencies
Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).


3.1.19 cl-gamepad/documentation.lisp

Dependency

default-device-mappings.lisp (file).

Source

cl-gamepad.asd.

Parent Component

cl-gamepad (system).


4 Packages

Packages are listed by definition order.


4.1 org.shirakumo.fraf.gamepad

Source

package.lisp.

Use List

common-lisp.

Public Interface
Internals

4.2 org.shirakumo.fraf.gamepad.impl

Source

package.lisp.

Use List

common-lisp.

Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Special variables

Special Variable: *default-mappings-file*
Package

org.shirakumo.fraf.gamepad.

Source

mapping.lisp.


5.1.2 Macros

Macro: define-device-mapping ((driver vendor product) &body plist)

Defines a new device mapping for the named device type.

This is a shorthand around (SETF DEVICE-MAPPING). The BODY should be a plist with :NAME :BUTTONS and :AXES keys. For buttons and axes, the value should be a plist from device IDs to labels.

See DEVICE-MAPPING

Package

org.shirakumo.fraf.gamepad.

Source

mapping.lisp.


5.1.3 Compiler macros

Compiler Macro: axis (axis device)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Compiler Macro: button (button device)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.


5.1.4 Ordinary functions

Function: axis (axis device)

Returns the last known value of the axis.

Returns a single-float representing the axis state.
This state is automatically updated when POLL-EVENTS is called. The axis name must be a known and mapped keyword from +LABELS+.

See AXIS-MOVE
See POLL-EVENTS
See DEVICE
See +LABELS+

Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: blacklisted-p (id)

A place accessing whether the device is blacklisted or not.

If T, the device will not be recognised on future initialisations of the library or future POLL-DEVICES calls.

Package

org.shirakumo.fraf.gamepad.

Source

mapping.lisp.

Function: (setf blacklisted-p) (id)
Package

org.shirakumo.fraf.gamepad.

Source

mapping.lisp.

Function: button (button device)

Returns the last known value of the button.

Returns T if the button is pressed, NIL if it is released. This state is automatically updated when POLL-EVENTS is called. The button name must be a known and mapped keyword from +LABELS+.

See BUTTON-DOWN
See BUTTON-UP
See POLL-EVENTS
See DEVICE
See +LABELS+

Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: call-with-devices (function)
Package

org.shirakumo.fraf.gamepad.

Source

linux.lisp.

Function: configure-device (device &key button-labels axis-labels ignored-axes mappings-file)

Run an interactive configuration wizard to determine the proper button mappings.

This will interactively ask you to press the correct buttons and axes corresponding to the prompted labels.

You can use this to configure a device’s button and axis mappings if
the default mapping is not correct.

You can pass the desired axis and button labels.

If the device reports faulty axes that interfere with the axis mapping mechanism, you can ignore them by passing their IDs with the IGNORED-AXES argument.

See +COMMON-BUTTONS+
See +COMMON-AXES+
See SAVE-DEVICE-MAPPINGS

Package

org.shirakumo.fraf.gamepad.

Source

configurator.lisp.

Function: dead-zone (device axis)

Accessor for the dead zone of the axis on the device.

The dead zone can be defined on a combination of horizontal and vertical axes, or a single axis. When applied to a combination, the axis name must be :L, or :R, in which case the dead zone is circular.

See +LABELS+
See DEVICE

Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: (setf dead-zone) (device axis)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: device-mapping (id)

A place accessing the device mapping associated with the given ID.

An ID can either be a DEVICE instance, or a list with the following members:

DRIVER — The name of the underlying driver for the device. One of :DINPUT :XINPUT :EVDEV :IOKIT
VENDOR — The vendor ID of the device.
PRODUCT — The product ID of the device.

Returns NIL if no mapping is known, or a plist with the following members:

:NAME — A string identifying the device in a hopefully human-readable way.
:BUTTONS — A hash table mapping backend-specific button IDs to the standardised button labels from +LABELS+
:AXES — A hash table mapping backend-specific axis IDs to the standardised axis labels from +LABELS+

Setting a device mapping will automatically update all known devices that match the mapping.

See REMOVE-DEVICE-MAPPING
See CONFIGURE-DEVICE

Package

org.shirakumo.fraf.gamepad.

Source

mapping.lisp.

Function: (setf device-mapping) (id)
Package

org.shirakumo.fraf.gamepad.

Source

mapping.lisp.

Function: ensure-device (device-ish)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Reader: event-code (instance)

Returns the underlying code of the feature on the device that caused the event.

The code is a positive integer that has a device and driver specific meaning.

This field is always set.

See EVENT

Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Target Slot

code.

Writer: (setf event-code) (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Target Slot

code.

Reader: event-device (instance)

Returns the device the event came from.

This field is always set.

See EVENT
See DEVICE

Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Target Slot

device.

Writer: (setf event-device) (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Target Slot

device.

Reader: event-label (instance)

Returns the standardised label associated with the axis or button that caused the event.

If the feature is unknown or not properly mapped, NIL is
returned. Otherwise the returned symbol must be one contained in
+LABELS+.

See EVENT
See +LABELS+

Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Target Slot

label.

Writer: (setf event-label) (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Target Slot

label.

Reader: event-old-value (instance)

Returns the previous axis value as a single-float in [-1,+1]

See EVENT-VALUE
See AXIS-MOVE

Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Target Slot

old-value.

Writer: (setf event-old-value) (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Target Slot

old-value.

Reader: event-time (instance)

Returns some form of time identifier for the event.

The actual time resolution is dependent on the driver. This is mostly useful to gauge whether events happened simultaneously or not.

This field is always set.

See EVENT

Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Target Slot

time.

Writer: (setf event-time) (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Target Slot

time.

Reader: event-value (instance)

Returns the axis value as a single-float in [-1,+1].

For a horizontal axis, -1 means left, +1 means right. For a vertical axis, -1 means down, +1 means up.

This field is only accessible for AXIS-MOVEs.

See AXIS-MOVE

Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Target Slot

value.

Writer: (setf event-value) (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Target Slot

value.

Function: init ()

Initialises the library for use.

This will cause system shared objects to be loaded and will cause certain support structures to be allocated and initialised. Only call this function on a target system where the gamepads should be queried.

You MUST call this function before calling any other device functions.

It is safe to call this function multiple times.

Returns the list of currently known devices.

See SHUTDOWN

Package

org.shirakumo.fraf.gamepad.

Source

linux.lisp.

Function: list-devices ()

Returns a fresh list of all known gamepad devices.

This will not query for device updates, and only represents the currently known state of the system.

On an uninitialised system this will return NIL.

See POLL-DEVICES

Package

org.shirakumo.fraf.gamepad.

Source

linux.lisp.

Function: monitor-device (device)
Package

org.shirakumo.fraf.gamepad.

Source

configurator.lisp.

Function: poll-devices (&key timeout function)

Queries for device changes.

TIMEOUT can be a one of the following:

T — Continuously poll for device changes indefinitely. NIL — Immediately return if no changes are pending.
REAL — Wait up to the given number of seconds until a change is noticed. Returns as soon as a change happened, or some time until the timeout runs out.

FUNCTION can be a function designator, which is called with two arguments:
ACTION — Either :ADD or :REMOVE.
DEVICE — The DEVICE object that has been changed. If ACTION was :REMOVE, you should not query the device anymore, and instead ensure that it is no longer referenced from your program.

You should call this function whenever you want to allow changing the connected devices, or whenever an existing device is disconnected.

You must have called INIT prior to calling this function.

See INIT
See LIST-DEVICES

Package

org.shirakumo.fraf.gamepad.

Source

linux.lisp.

Function: poll-events (device function &key timeout)

Queries the device for events.

The FUNCTION is called with any new device events that arrive during querying. The events are not guaranteed to be fresh and you MUST NOT store them anywhere. You should instead translate the event into a format more suitable for your use case or consume it on the spot.

TIMEOUT can be of one of the following:

T — Continuously poll for device events indefinitely.
NIL — Immediately return if no events are pending.
REAL — Wait up to the given number of seconds until an event is noticed. Returns as soon as an event happened, or some time until the timeout runs out.

You should call this function whenever you wish to query the gamepad for new changes in its buttons or axes.

This function may signal an error of type GAMEPAD-ERROR. When this happens the device has become unavailable for some reason. You should remove the device from your own references and invoke the restart DROP-DEVICE which will remove the device from the internal library and abort the query.

You must have called INIT prior to calling this function.

See INIT
See DEVICE
See EVENT

Package

org.shirakumo.fraf.gamepad.

Source

linux.lisp.

Function: ramp (device axis)

Accessor for the ramp of the axis on the device.

The ramp descriptor must be a function of a single argument that takes a basic, linear axis value, and returns the mapped axis value.

See +LABELS+
See DEVICE

Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: (setf ramp) (device axis)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: remove-device-mapping (id)

Removes the device mapping associated with the given ID.

See DEVICE-MAPPING

Package

org.shirakumo.fraf.gamepad.

Source

mapping.lisp.

Function: rumble (device strength &key pan)

Causes haptic feedback on the controller.

STRENGTH should be a number in [0,1] denoting the strength of the haptic feedback.

PAN should be a number in [-1,+1] denoting where (from left to right) to rumble.

Note that haptic feedback is wildly inconsistent across devices and drivers, and may be completely unsupported, or not behave exactly as described here.

If the haptic feedback is unsupported, this function returns :UNSUPPORTED.

The rumbling will last at least 0.1 seconds, and may go on indefinitely. You must modulate the rumbling manually, or stop it completely by setting the strength to zero.

You must have called INIT prior to calling this function.

See INIT
See DEVICE

Package

org.shirakumo.fraf.gamepad.

Source

linux.lisp.

Function: save-device-mappings (&optional file)

Saves all known device mappings to a lisp source file.

The source file can simply be LOADed in to restore the mappings.

See *DEFAULT-MAPPINGS-FILE*

Package

org.shirakumo.fraf.gamepad.

Source

mapping.lisp.

Function: shutdown ()

Uninitialises the library and closes all used resources.

This will not unload system shared objects, but it will close all used devices and other services and deallocate them. You should call this function when shutting down on a target system.

After calling this function you MUST NOT call any other device functions without first calling INIT again.

It is safe to call this function multiple times.

See INIT

Package

org.shirakumo.fraf.gamepad.

Source

linux.lisp.


5.1.5 Generic functions

Generic Reader: driver (object)

Returns a symbol identifying the driver underlying the device.

May be one of:

:EVDEV — (Linux evdev)
:DINPUT — (Windows DirectInput)
:XINPUT — (Windows XInput)
:IOKIT — (Apple IOKit)

See DEVICE

Package

org.shirakumo.fraf.gamepad.

Methods
Reader Method: driver ((device device))

automatically generated reader method

Source

protocol.lisp.

Target Slot

driver.

Generic Reader: icon-type (object)

Returns a symbol identifying what icons to use for the buttons.

May be one of:

:GENERIC-NINTENDO
:GENERIC-XBOX
:GENERIC-PLAYSTATION
:NINTENDO-SWITCH
:DUALSHOCK-4

or another kind of label. You should be prepared to default to :GENERIC-XBOX on encountering an unknown icon type.

See DEVICE

Package

org.shirakumo.fraf.gamepad.

Methods
Reader Method: icon-type ((device device))

automatically generated reader method

Source

protocol.lisp.

Target Slot

icon-type.

Generic Writer: (setf icon-type) (object)
Package

org.shirakumo.fraf.gamepad.

Methods
Writer Method: (setf icon-type) ((device device))

automatically generated writer method

Source

protocol.lisp.

Target Slot

icon-type.

Generic Reader: name (object)

Returns a human-readable name for the device.

No guarantees can be made about the quality or descriptiveness of the name.

See DEVICE

Package

org.shirakumo.fraf.gamepad.

Methods
Reader Method: name ((device device))

automatically generated reader method

Source

protocol.lisp.

Target Slot

name.

Generic Reader: product (object)

Returns an integer ID identifying the device product.

See DEVICE

Package

org.shirakumo.fraf.gamepad.

Methods
Reader Method: product ((device device))

automatically generated reader method

Source

protocol.lisp.

Target Slot

product.

Generic Reader: vendor (object)

Returns an integer ID identifying the vendor of the device.

See DEVICE

Package

org.shirakumo.fraf.gamepad.

Methods
Reader Method: vendor ((device device))

automatically generated reader method

Source

protocol.lisp.

Target Slot

vendor.

Generic Reader: version (object)

Returns an integer denoting the version of the device.

See DEVICE

Package

org.shirakumo.fraf.gamepad.

Methods
Reader Method: version ((device device))

automatically generated reader method

Source

protocol.lisp.

Target Slot

version.


5.1.6 Standalone methods

Method: initialize-instance :after ((device device) &key)
Source

mapping.lisp.

Method: print-object ((event event) stream)
Source

protocol.lisp.

Method: print-object ((device device) stream)
Source

protocol.lisp.

Method: print-object ((event axis-move) stream)
Source

protocol.lisp.


5.1.7 Conditions

Condition: gamepad-error

Error signalled when an underlying operating system, driver, or device problem occurs.

Depending on the driver used the actual type of error signalled may be
a subtype of this condition with more information available about the
error specifics.

Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Direct superclasses

error.

Direct subclasses

linux-error.


5.1.8 Structures

Structure: axis-move

Event issued when an axis moves.

This event may be signalled many times with very similar values. It will NOT be issued if the combined axis (horizontal and vertical) has a dead zone set and the axis falls within the dead zone.
If a ramp is defined on the axis, the value is already ramp-adjusted.

See EVENT-VALUE
see EVENT-OLD-VALUE
See EVENT

Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Direct superclasses

event.

Direct methods

print-object.

Direct slots
Slot: value
Type

single-float

Initform

0.0

Readers

event-value.

Writers

(setf event-value).

Slot: old-value
Type

single-float

Initform

0.0

Readers

event-old-value.

Writers

(setf event-old-value).

Structure: button-down

Event issued when a button is pressed down.

This event is only signalled once on the rising edge.

See EVENT

Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Direct superclasses

event.

Structure: button-up

Event issued when a button is released.

This event is only signalled once on the falling edge.

See EVENT

Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Direct superclasses

event.

Structure: event

Base type for device events.

An event denotes a change in the device’s buttons or axes.

See POLL-EVENTS
See BUTTON-DOWN
See BUTTON-UP
See AXIS-MOVE
See EVENT-DEVICE
See EVENT-TIME
See EVENT-CODE
See EVENT-LABEL
See EVENT-VALUE
See EVENT-OLD-VALUE

Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Direct superclasses

structure-object.

Direct subclasses
Direct methods

print-object.

Direct slots
Slot: device
Readers

event-device.

Writers

(setf event-device).

Slot: time
Package

common-lisp.

Type

(unsigned-byte 64)

Initform

0

Readers

event-time.

Writers

(setf event-time).

Slot: code
Type

(unsigned-byte 32)

Initform

0

Readers

event-code.

Writers

(setf event-code).

Slot: label
Type

symbol

Readers

event-label.

Writers

(setf event-label).


5.1.9 Classes

Class: device

Representation of a physical gamepad device.

The actual type of instances may be a subtype of this with internal features relevant to the driver.

See NAME
See VENDOR
See PRODUCT
See VERSION
See DRIVER
See ICON-TYPE

Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Direct subclasses

device.

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

name.

Writers

This slot is read-only.

Slot: vendor
Initargs

:vendor

Readers

vendor.

Writers

This slot is read-only.

Slot: product
Initargs

:product

Readers

product.

Writers

This slot is read-only.

Slot: version
Initargs

:version

Readers

version.

Writers

This slot is read-only.

Slot: driver
Initargs

:driver

Readers

driver.

Writers

This slot is read-only.

Slot: icon-type
Initform

:generic-xbox

Initargs

:icon-type

Readers

icon-type.

Writers

(setf icon-type).

Slot: button-map
Initform

(make-hash-table :test (quote eql))

Initargs

:button-map

Readers

button-map.

Writers

(setf button-map).

Slot: axis-map
Initform

(make-hash-table :test (quote eql))

Initargs

:axis-map

Readers

axis-map.

Writers

(setf axis-map).

Slot: orientation-map
Initform

(make-hash-table :test (quote eql))

Initargs

:orientation-map

Readers

orientation-map.

Writers

(setf orientation-map).

Slot: button-states
Initform

(make-array (length org.shirakumo.fraf.gamepad:+labels+) :element-type (quote bit) :initial-element 0)

Readers

button-states.

Writers

(setf button-states).

Slot: axis-states
Initform

(make-array (length org.shirakumo.fraf.gamepad:+labels+) :element-type (quote single-float) :initial-element 0.0)

Readers

axis-states.

Writers

(setf axis-states).

Slot: axis-raw-states
Initform

(make-array (length org.shirakumo.fraf.gamepad:+labels+) :element-type (quote single-float) :initial-element 0.0)

Readers

axis-raw-states.

Writers

(setf axis-raw-states).

Slot: axis-ramps
Initform

(make-array (length org.shirakumo.fraf.gamepad:+labels+) :initial-element (function identity))

Readers

axis-ramps.

Writers

(setf axis-ramps).

Slot: axis-dead-zones
Initform

(make-array (+ 2 (length org.shirakumo.fraf.gamepad:+labels+)) :element-type (quote single-float) :initial-element 0.0)

Readers

axis-dead-zones.

Writers

(setf axis-dead-zones).


5.2 Internals


5.2.1 Special variables

Special Variable: *blacklist*
Package

org.shirakumo.fraf.gamepad.

Source

mapping.lisp.

Special Variable: *device-mappings*
Package

org.shirakumo.fraf.gamepad.

Source

mapping.lisp.

Special Variable: *device-notify*
Package

org.shirakumo.fraf.gamepad.impl.

Source

linux.lisp.

Special Variable: *device-table*
Package

org.shirakumo.fraf.gamepad.impl.

Source

linux.lisp.

Special Variable: *here*
Package

org.shirakumo.fraf.gamepad.

Source

mapping.lisp.

Special Variable: *here*
Package

org.shirakumo.fraf.gamepad.impl.

Source

common.lisp.

Special Variable: *static*
Package

org.shirakumo.fraf.gamepad.impl.

Source

common.lisp.


5.2.2 Symbol macros

Symbol Macro: errno
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.


5.2.3 Macros

Macro: %with-updated-event ((event) &body body)
Package

org.shirakumo.fraf.gamepad.impl.

Source

common.lisp.

Macro: check-errno (predicate &body case-forms)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Macro: define-global (name value)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Macro: with-device-failures ((device) &body body)
Package

org.shirakumo.fraf.gamepad.impl.

Source

common.lisp.


5.2.4 Compiler macros

Compiler Macro: id-label (id)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Compiler Macro: label-id (label)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.


5.2.5 Ordinary functions

Function: %var-accessor-errno ()
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf %var-accessor-errno) ()
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: add-watch (fd path mask)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: axis-info-flat (pointer-to-axis-info)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf axis-info-flat) (pointer-to-axis-info)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: axis-info-fuzz (pointer-to-axis-info)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf axis-info-fuzz) (pointer-to-axis-info)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: axis-info-maximum (pointer-to-axis-info)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf axis-info-maximum) (pointer-to-axis-info)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: axis-info-minimum (pointer-to-axis-info)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf axis-info-minimum) (pointer-to-axis-info)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: axis-info-resolution (pointer-to-axis-info)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf axis-info-resolution) (pointer-to-axis-info)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: axis-info-value (pointer-to-axis-info)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf axis-info-value) (pointer-to-axis-info)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: axis-move-p (object)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: axis-to-float (label value min max)
Package

org.shirakumo.fraf.gamepad.impl.

Source

common.lisp.

Function: button-down-code (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: (setf button-down-code) (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: button-down-device (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: (setf button-down-device) (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: button-down-label (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: (setf button-down-label) (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: button-down-p (object)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: button-down-time (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: (setf button-down-time) (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: button-up-code (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: (setf button-up-code) (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: button-up-device (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: (setf button-up-device) (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: button-up-label (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: (setf button-up-label) (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: button-up-p (object)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: button-up-time (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: (setf button-up-time) (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: call-with-device-events (function device)
Package

org.shirakumo.fraf.gamepad.impl.

Source

linux.lisp.

Function: call-with-polling (function fd &key timeout)
Package

org.shirakumo.fraf.gamepad.impl.

Source

linux.lisp.

Function: change-fd (device fd)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: circular-rezone (value zone other-value)
Package

org.shirakumo.fraf.gamepad.impl.

Source

common.lisp.

Function: clamp (min value max)
Package

org.shirakumo.fraf.gamepad.impl.

Source

common.lisp.

Function: close-device (device)
Package

org.shirakumo.fraf.gamepad.impl.

Source

linux.lisp.

Function: configurator-main ()
Package

org.shirakumo.fraf.gamepad.

Source

configurator.lisp.

Function: copy-axis-move (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: copy-button-down (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: copy-button-up (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: copy-event (instance)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: copyhash (from &optional to)
Package

org.shirakumo.fraf.gamepad.

Source

mapping.lisp.

Function: dev-gamepad-p (dev)
Package

org.shirakumo.fraf.gamepad.impl.

Source

linux.lisp.

Function: device-axis-map (dev)
Package

org.shirakumo.fraf.gamepad.impl.

Source

linux.lisp.

Function: device-button-map (dev)
Package

org.shirakumo.fraf.gamepad.impl.

Source

linux.lisp.

Function: effect-data (pointer-to-effect)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf effect-data) (pointer-to-effect)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: effect-direction (pointer-to-effect)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf effect-direction) (pointer-to-effect)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: effect-id (pointer-to-effect)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf effect-id) (pointer-to-effect)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: effect-replay (pointer-to-effect)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf effect-replay) (pointer-to-effect)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: effect-trigger (pointer-to-effect)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf effect-trigger) (pointer-to-effect)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: effect-type (pointer-to-effect)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf effect-type) (pointer-to-effect)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ensure-device (path)
Package

org.shirakumo.fraf.gamepad.impl.

Source

linux.lisp.

Function: ensure-function (function)
Package

org.shirakumo.fraf.gamepad.impl.

Source

common.lisp.

Function: error-message (errno)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: event-code (pointer-to-event)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf event-code) (pointer-to-event)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: event-p (object)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: event-sec (pointer-to-event)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf event-sec) (pointer-to-event)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: event-type (pointer-to-event)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf event-type) (pointer-to-event)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: event-usec (pointer-to-event)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf event-usec) (pointer-to-event)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: event-value (pointer-to-event)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf event-value) (pointer-to-event)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-condition-center (pointer-to-ff-condition)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-condition-center) (pointer-to-ff-condition)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-condition-deadband (pointer-to-ff-condition)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-condition-deadband) (pointer-to-ff-condition)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-condition-left-coefficient (pointer-to-ff-condition)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-condition-left-coefficient) (pointer-to-ff-condition)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-condition-left-saturation (pointer-to-ff-condition)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-condition-left-saturation) (pointer-to-ff-condition)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-condition-right-coefficient (pointer-to-ff-condition)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-condition-right-coefficient) (pointer-to-ff-condition)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-condition-right-saturation (pointer-to-ff-condition)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-condition-right-saturation) (pointer-to-ff-condition)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-constant-envelope (pointer-to-ff-constant)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-constant-envelope) (pointer-to-ff-constant)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-constant-level (pointer-to-ff-constant)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-constant-level) (pointer-to-ff-constant)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-envelope-attack-length (pointer-to-ff-envelope)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-envelope-attack-length) (pointer-to-ff-envelope)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-envelope-attack-level (pointer-to-ff-envelope)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-envelope-attack-level) (pointer-to-ff-envelope)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-envelope-fade-length (pointer-to-ff-envelope)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-envelope-fade-length) (pointer-to-ff-envelope)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-envelope-fade-level (pointer-to-ff-envelope)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-envelope-fade-level) (pointer-to-ff-envelope)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-periodic-custom-data (pointer-to-ff-periodic)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-periodic-custom-data) (pointer-to-ff-periodic)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-periodic-custom-length (pointer-to-ff-periodic)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-periodic-custom-length) (pointer-to-ff-periodic)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-periodic-envelope (pointer-to-ff-periodic)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-periodic-envelope) (pointer-to-ff-periodic)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-periodic-magnitude (pointer-to-ff-periodic)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-periodic-magnitude) (pointer-to-ff-periodic)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-periodic-offset (pointer-to-ff-periodic)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-periodic-offset) (pointer-to-ff-periodic)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-periodic-period (pointer-to-ff-periodic)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-periodic-period) (pointer-to-ff-periodic)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-periodic-phase (pointer-to-ff-periodic)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-periodic-phase) (pointer-to-ff-periodic)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-periodic-waveform (pointer-to-ff-periodic)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-periodic-waveform) (pointer-to-ff-periodic)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-ramp-end-level (pointer-to-ff-ramp)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-ramp-end-level) (pointer-to-ff-ramp)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-ramp-envelope (pointer-to-ff-ramp)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-ramp-envelope) (pointer-to-ff-ramp)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-ramp-start-level (pointer-to-ff-ramp)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-ramp-start-level) (pointer-to-ff-ramp)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-replay-delay (pointer-to-ff-replay)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-replay-delay) (pointer-to-ff-replay)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-replay-length (pointer-to-ff-replay)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-replay-length) (pointer-to-ff-replay)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-rumble-strong-magnitude (pointer-to-ff-rumble)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-rumble-strong-magnitude) (pointer-to-ff-rumble)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-rumble-weak-magnitude (pointer-to-ff-rumble)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-rumble-weak-magnitude) (pointer-to-ff-rumble)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-trigger-button (pointer-to-ff-trigger)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-trigger-button) (pointer-to-ff-trigger)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: ff-trigger-interval (pointer-to-ff-trigger)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf ff-trigger-interval) (pointer-to-ff-trigger)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: free-device (device)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: get-axis-info (device code)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: get-driver-version (device)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: get-id-bustype (device)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: get-id-product (device)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: get-id-vendor (device)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: get-id-version (device)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: get-name (device)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: get-uniq (device)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: has-event-code (device type code)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: has-event-pending (device)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: has-event-type (device type)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: has-property (device property)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: id-label (id)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: inotify-cookie (pointer-to-inotify)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf inotify-cookie) (pointer-to-inotify)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: inotify-length (pointer-to-inotify)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf inotify-length) (pointer-to-inotify)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: inotify-mask (pointer-to-inotify)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf inotify-mask) (pointer-to-inotify)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: inotify-name (pointer-to-inotify)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf inotify-name) (pointer-to-inotify)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: inotify-wd (pointer-to-inotify)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf inotify-wd) (pointer-to-inotify)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: inverse-gethash (value hash-table &optional default)
Package

org.shirakumo.fraf.gamepad.

Source

configurator.lisp.

Function: ioctl (fd request data)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: label-id (label)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: linux-error (code &key function-name message)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: make-axis-move (device time code label value)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: make-button-down (device time code label)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: make-button-up (device time code label)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: make-device-from-path (path)
Package

org.shirakumo.fraf.gamepad.impl.

Source

linux.lisp.

Function: make-event (&key device time code label)
Package

org.shirakumo.fraf.gamepad.

Source

protocol.lisp.

Function: map-plist (table)
Package

org.shirakumo.fraf.gamepad.

Source

mapping.lisp.

Function: mapping-id< (a b)
Package

org.shirakumo.fraf.gamepad.

Source

mapping.lisp.

Function: memset (pointer fill n)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: new-from-fd (fd device)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: new-inotify (flags)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: next-event (device flag event)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: normalize-mapping-id (id)
Package

org.shirakumo.fraf.gamepad.

Source

mapping.lisp.

Function: note-event (ev)
Package

org.shirakumo.fraf.gamepad.

Source

configurator.lisp.

Function: out (str &rest args)
Package

org.shirakumo.fraf.gamepad.

Source

configurator.lisp.

Function: plist-map (plist)
Package

org.shirakumo.fraf.gamepad.

Source

mapping.lisp.

Function: poll (pollfds n timeout)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: pollfd-events (pointer-to-pollfd)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf pollfd-events) (pointer-to-pollfd)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: pollfd-fd (pointer-to-pollfd)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf pollfd-fd) (pointer-to-pollfd)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: pollfd-revents (pointer-to-pollfd)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: (setf pollfd-revents) (pointer-to-pollfd)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: prefix-p (prefix string)
Package

org.shirakumo.fraf.gamepad.impl.

Source

linux.lisp.

Function: probe-device-effect (fd)
Package

org.shirakumo.fraf.gamepad.impl.

Source

linux.lisp.

Function: process-connect-events (function)
Package

org.shirakumo.fraf.gamepad.impl.

Source

linux.lisp.

Function: query-labels (labels device map confirm)
Package

org.shirakumo.fraf.gamepad.

Source

configurator.lisp.

Function: refresh-devices (&optional function)
Package

org.shirakumo.fraf.gamepad.impl.

Source

linux.lisp.

Function: sibling-id (id)
Package

org.shirakumo.fraf.gamepad.impl.

Source

common.lisp.

Function: signal-axis-move (function device time code label value)
Package

org.shirakumo.fraf.gamepad.impl.

Source

common.lisp.

Function: signal-button-down (function device time code label)
Package

org.shirakumo.fraf.gamepad.impl.

Source

common.lisp.

Function: signal-button-up (function device time code label)
Package

org.shirakumo.fraf.gamepad.impl.

Source

common.lisp.

Function: square-rezone (value zone)
Package

org.shirakumo.fraf.gamepad.impl.

Source

common.lisp.

Function: translate-event (function event device)
Package

org.shirakumo.fraf.gamepad.impl.

Source

linux.lisp.

Function: u-close (fd)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: u-open (pathname mode)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: u-read (fd buffer length)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: u-write (fd buffer length)
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Function: update-mapping-in-device (device mapping)
Package

org.shirakumo.fraf.gamepad.

Source

mapping.lisp.


5.2.6 Generic functions

Generic Reader: axis-dead-zones (object)
Package

org.shirakumo.fraf.gamepad.

Methods
Reader Method: axis-dead-zones ((device device))

automatically generated reader method

Source

protocol.lisp.

Target Slot

axis-dead-zones.

Generic Writer: (setf axis-dead-zones) (object)
Package

org.shirakumo.fraf.gamepad.

Methods
Writer Method: (setf axis-dead-zones) ((device device))

automatically generated writer method

Source

protocol.lisp.

Target Slot

axis-dead-zones.

Generic Reader: axis-map (object)
Package

org.shirakumo.fraf.gamepad.

Methods
Reader Method: axis-map ((device device))

automatically generated reader method

Source

protocol.lisp.

Target Slot

axis-map.

Generic Writer: (setf axis-map) (object)
Package

org.shirakumo.fraf.gamepad.

Methods
Writer Method: (setf axis-map) ((device device))

automatically generated writer method

Source

protocol.lisp.

Target Slot

axis-map.

Generic Reader: axis-ramps (object)
Package

org.shirakumo.fraf.gamepad.

Methods
Reader Method: axis-ramps ((device device))

automatically generated reader method

Source

protocol.lisp.

Target Slot

axis-ramps.

Generic Writer: (setf axis-ramps) (object)
Package

org.shirakumo.fraf.gamepad.

Methods
Writer Method: (setf axis-ramps) ((device device))

automatically generated writer method

Source

protocol.lisp.

Target Slot

axis-ramps.

Generic Reader: axis-raw-states (object)
Package

org.shirakumo.fraf.gamepad.

Methods
Reader Method: axis-raw-states ((device device))

automatically generated reader method

Source

protocol.lisp.

Target Slot

axis-raw-states.

Generic Writer: (setf axis-raw-states) (object)
Package

org.shirakumo.fraf.gamepad.

Methods
Writer Method: (setf axis-raw-states) ((device device))

automatically generated writer method

Source

protocol.lisp.

Target Slot

axis-raw-states.

Generic Reader: axis-states (object)
Package

org.shirakumo.fraf.gamepad.

Methods
Reader Method: axis-states ((device device))

automatically generated reader method

Source

protocol.lisp.

Target Slot

axis-states.

Generic Writer: (setf axis-states) (object)
Package

org.shirakumo.fraf.gamepad.

Methods
Writer Method: (setf axis-states) ((device device))

automatically generated writer method

Source

protocol.lisp.

Target Slot

axis-states.

Generic Reader: button-map (object)
Package

org.shirakumo.fraf.gamepad.

Methods
Reader Method: button-map ((device device))

automatically generated reader method

Source

protocol.lisp.

Target Slot

button-map.

Generic Writer: (setf button-map) (object)
Package

org.shirakumo.fraf.gamepad.

Methods
Writer Method: (setf button-map) ((device device))

automatically generated writer method

Source

protocol.lisp.

Target Slot

button-map.

Generic Reader: button-states (object)
Package

org.shirakumo.fraf.gamepad.

Methods
Reader Method: button-states ((device device))

automatically generated reader method

Source

protocol.lisp.

Target Slot

button-states.

Generic Writer: (setf button-states) (object)
Package

org.shirakumo.fraf.gamepad.

Methods
Writer Method: (setf button-states) ((device device))

automatically generated writer method

Source

protocol.lisp.

Target Slot

button-states.

Generic Reader: code (condition)
Package

org.shirakumo.fraf.gamepad.impl.

Methods
Reader Method: code ((condition linux-error))
Source

evdev-cffi.lisp.

Target Slot

code.

Generic Reader: dev (object)
Package

org.shirakumo.fraf.gamepad.impl.

Methods
Reader Method: dev ((device device))

automatically generated reader method

Source

linux.lisp.

Target Slot

dev.

Generic Reader: effect (object)
Package

org.shirakumo.fraf.gamepad.impl.

Methods
Reader Method: effect ((device device))

automatically generated reader method

Source

linux.lisp.

Target Slot

effect.

Generic Reader: fd (object)
Package

org.shirakumo.fraf.gamepad.impl.

Methods
Reader Method: fd ((device device))

automatically generated reader method

Source

linux.lisp.

Target Slot

fd.

Generic Reader: function-name (condition)
Package

org.shirakumo.fraf.gamepad.impl.

Methods
Reader Method: function-name ((condition linux-error))
Source

evdev-cffi.lisp.

Target Slot

function-name.

Generic Reader: id (object)
Package

org.shirakumo.fraf.gamepad.impl.

Methods
Reader Method: id ((device device))

automatically generated reader method

Source

linux.lisp.

Target Slot

id.

Generic Reader: message (condition)
Package

org.shirakumo.fraf.gamepad.impl.

Methods
Reader Method: message ((condition linux-error))
Source

evdev-cffi.lisp.

Target Slot

message.

Generic Reader: orientation-map (object)
Package

org.shirakumo.fraf.gamepad.

Methods
Reader Method: orientation-map ((device device))

automatically generated reader method

Source

protocol.lisp.

Target Slot

orientation-map.

Generic Writer: (setf orientation-map) (object)
Package

org.shirakumo.fraf.gamepad.

Methods
Writer Method: (setf orientation-map) ((device device))

automatically generated writer method

Source

protocol.lisp.

Target Slot

orientation-map.


5.2.7 Conditions

Condition: linux-error
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Direct superclasses

gamepad-error.

Direct methods
Direct slots
Slot: function-name
Initform

(quote nil)

Initargs

:function-name

Readers

function-name.

Writers

This slot is read-only.

Slot: code
Initargs

:code

Readers

code.

Writers

This slot is read-only.

Slot: message
Initform

(quote nil)

Initargs

:message

Readers

message.

Writers

This slot is read-only.


5.2.8 Classes

Class: axis-info-tclass
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: device
Package

org.shirakumo.fraf.gamepad.impl.

Source

linux.lisp.

Direct superclasses

device.

Direct methods
Direct slots
Slot: id
Initargs

:id

Readers

id.

Writers

This slot is read-only.

Slot: fd
Initargs

:fd

Readers

fd.

Writers

This slot is read-only.

Slot: dev
Initargs

:dev

Readers

dev.

Writers

This slot is read-only.

Slot: effect
Initargs

:effect

Readers

effect.

Writers

This slot is read-only.

Class: effect-tclass
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: event-tclass
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ff-condition-tclass
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ff-constant-tclass
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ff-envelope-tclass
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ff-periodic-tclass
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ff-ramp-tclass
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ff-replay-tclass
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ff-rumble-tclass
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ff-trigger-tclass
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: inotify-tclass
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: pollfd-tclass
Package

org.shirakumo.fraf.gamepad.impl.

Source

evdev-cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.

Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   %   (  
A   B   C   D   E   F   G   H   I   L   M   N   O   P   Q   R   S   T   U   V   W  
Index Entry  Section

%
%var-accessor-errno: Private ordinary functions
%with-updated-event: Private macros

(
(setf %var-accessor-errno): Private ordinary functions
(setf axis-dead-zones): Private generic functions
(setf axis-dead-zones): Private generic functions
(setf axis-info-flat): Private ordinary functions
(setf axis-info-fuzz): Private ordinary functions
(setf axis-info-maximum): Private ordinary functions
(setf axis-info-minimum): Private ordinary functions
(setf axis-info-resolution): Private ordinary functions
(setf axis-info-value): Private ordinary functions
(setf axis-map): Private generic functions
(setf axis-map): Private generic functions
(setf axis-ramps): Private generic functions
(setf axis-ramps): Private generic functions
(setf axis-raw-states): Private generic functions
(setf axis-raw-states): Private generic functions
(setf axis-states): Private generic functions
(setf axis-states): Private generic functions
(setf blacklisted-p): Public ordinary functions
(setf button-down-code): Private ordinary functions
(setf button-down-device): Private ordinary functions
(setf button-down-label): Private ordinary functions
(setf button-down-time): Private ordinary functions
(setf button-map): Private generic functions
(setf button-map): Private generic functions
(setf button-states): Private generic functions
(setf button-states): Private generic functions
(setf button-up-code): Private ordinary functions
(setf button-up-device): Private ordinary functions
(setf button-up-label): Private ordinary functions
(setf button-up-time): Private ordinary functions
(setf dead-zone): Public ordinary functions
(setf device-mapping): Public ordinary functions
(setf effect-data): Private ordinary functions
(setf effect-direction): Private ordinary functions
(setf effect-id): Private ordinary functions
(setf effect-replay): Private ordinary functions
(setf effect-trigger): Private ordinary functions
(setf effect-type): Private ordinary functions
(setf event-code): Public ordinary functions
(setf event-code): Private ordinary functions
(setf event-device): Public ordinary functions
(setf event-label): Public ordinary functions
(setf event-old-value): Public ordinary functions
(setf event-sec): Private ordinary functions
(setf event-time): Public ordinary functions
(setf event-type): Private ordinary functions
(setf event-usec): Private ordinary functions
(setf event-value): Public ordinary functions
(setf event-value): Private ordinary functions
(setf ff-condition-center): Private ordinary functions
(setf ff-condition-deadband): Private ordinary functions
(setf ff-condition-left-coefficient): Private ordinary functions
(setf ff-condition-left-saturation): Private ordinary functions
(setf ff-condition-right-coefficient): Private ordinary functions
(setf ff-condition-right-saturation): Private ordinary functions
(setf ff-constant-envelope): Private ordinary functions
(setf ff-constant-level): Private ordinary functions
(setf ff-envelope-attack-length): Private ordinary functions
(setf ff-envelope-attack-level): Private ordinary functions
(setf ff-envelope-fade-length): Private ordinary functions
(setf ff-envelope-fade-level): Private ordinary functions
(setf ff-periodic-custom-data): Private ordinary functions
(setf ff-periodic-custom-length): Private ordinary functions
(setf ff-periodic-envelope): Private ordinary functions
(setf ff-periodic-magnitude): Private ordinary functions
(setf ff-periodic-offset): Private ordinary functions
(setf ff-periodic-period): Private ordinary functions
(setf ff-periodic-phase): Private ordinary functions
(setf ff-periodic-waveform): Private ordinary functions
(setf ff-ramp-end-level): Private ordinary functions
(setf ff-ramp-envelope): Private ordinary functions
(setf ff-ramp-start-level): Private ordinary functions
(setf ff-replay-delay): Private ordinary functions
(setf ff-replay-length): Private ordinary functions
(setf ff-rumble-strong-magnitude): Private ordinary functions
(setf ff-rumble-weak-magnitude): Private ordinary functions
(setf ff-trigger-button): Private ordinary functions
(setf ff-trigger-interval): Private ordinary functions
(setf icon-type): Public generic functions
(setf icon-type): Public generic functions
(setf inotify-cookie): Private ordinary functions
(setf inotify-length): Private ordinary functions
(setf inotify-mask): Private ordinary functions
(setf inotify-name): Private ordinary functions
(setf inotify-wd): Private ordinary functions
(setf orientation-map): Private generic functions
(setf orientation-map): Private generic functions
(setf pollfd-events): Private ordinary functions
(setf pollfd-fd): Private ordinary functions
(setf pollfd-revents): Private ordinary functions
(setf ramp): Public ordinary functions

A
add-watch: Private ordinary functions
axis: Public compiler macros
axis: Public ordinary functions
axis-dead-zones: Private generic functions
axis-dead-zones: Private generic functions
axis-info-flat: Private ordinary functions
axis-info-fuzz: Private ordinary functions
axis-info-maximum: Private ordinary functions
axis-info-minimum: Private ordinary functions
axis-info-resolution: Private ordinary functions
axis-info-value: Private ordinary functions
axis-map: Private generic functions
axis-map: Private generic functions
axis-move-p: Private ordinary functions
axis-ramps: Private generic functions
axis-ramps: Private generic functions
axis-raw-states: Private generic functions
axis-raw-states: Private generic functions
axis-states: Private generic functions
axis-states: Private generic functions
axis-to-float: Private ordinary functions

B
blacklisted-p: Public ordinary functions
button: Public compiler macros
button: Public ordinary functions
button-down-code: Private ordinary functions
button-down-device: Private ordinary functions
button-down-label: Private ordinary functions
button-down-p: Private ordinary functions
button-down-time: Private ordinary functions
button-map: Private generic functions
button-map: Private generic functions
button-states: Private generic functions
button-states: Private generic functions
button-up-code: Private ordinary functions
button-up-device: Private ordinary functions
button-up-label: Private ordinary functions
button-up-p: Private ordinary functions
button-up-time: Private ordinary functions

C
call-with-device-events: Private ordinary functions
call-with-devices: Public ordinary functions
call-with-polling: Private ordinary functions
change-fd: Private ordinary functions
check-errno: Private macros
circular-rezone: Private ordinary functions
clamp: Private ordinary functions
close-device: Private ordinary functions
code: Private generic functions
code: Private generic functions
Compiler Macro, axis: Public compiler macros
Compiler Macro, button: Public compiler macros
Compiler Macro, id-label: Private compiler macros
Compiler Macro, label-id: Private compiler macros
configurator-main: Private ordinary functions
configure-device: Public ordinary functions
copy-axis-move: Private ordinary functions
copy-button-down: Private ordinary functions
copy-button-up: Private ordinary functions
copy-event: Private ordinary functions
copyhash: Private ordinary functions

D
dead-zone: Public ordinary functions
define-device-mapping: Public macros
define-global: Private macros
dev: Private generic functions
dev: Private generic functions
dev-gamepad-p: Private ordinary functions
device-axis-map: Private ordinary functions
device-button-map: Private ordinary functions
device-mapping: Public ordinary functions
driver: Public generic functions
driver: Public generic functions

E
effect: Private generic functions
effect: Private generic functions
effect-data: Private ordinary functions
effect-direction: Private ordinary functions
effect-id: Private ordinary functions
effect-replay: Private ordinary functions
effect-trigger: Private ordinary functions
effect-type: Private ordinary functions
ensure-device: Public ordinary functions
ensure-device: Private ordinary functions
ensure-function: Private ordinary functions
error-message: Private ordinary functions
event-code: Public ordinary functions
event-code: Private ordinary functions
event-device: Public ordinary functions
event-label: Public ordinary functions
event-old-value: Public ordinary functions
event-p: Private ordinary functions
event-sec: Private ordinary functions
event-time: Public ordinary functions
event-type: Private ordinary functions
event-usec: Private ordinary functions
event-value: Public ordinary functions
event-value: Private ordinary functions

F
fd: Private generic functions
fd: Private generic functions
ff-condition-center: Private ordinary functions
ff-condition-deadband: Private ordinary functions
ff-condition-left-coefficient: Private ordinary functions
ff-condition-left-saturation: Private ordinary functions
ff-condition-right-coefficient: Private ordinary functions
ff-condition-right-saturation: Private ordinary functions
ff-constant-envelope: Private ordinary functions
ff-constant-level: Private ordinary functions
ff-envelope-attack-length: Private ordinary functions
ff-envelope-attack-level: Private ordinary functions
ff-envelope-fade-length: Private ordinary functions
ff-envelope-fade-level: Private ordinary functions
ff-periodic-custom-data: Private ordinary functions
ff-periodic-custom-length: Private ordinary functions
ff-periodic-envelope: Private ordinary functions
ff-periodic-magnitude: Private ordinary functions
ff-periodic-offset: Private ordinary functions
ff-periodic-period: Private ordinary functions
ff-periodic-phase: Private ordinary functions
ff-periodic-waveform: Private ordinary functions
ff-ramp-end-level: Private ordinary functions
ff-ramp-envelope: Private ordinary functions
ff-ramp-start-level: Private ordinary functions
ff-replay-delay: Private ordinary functions
ff-replay-length: Private ordinary functions
ff-rumble-strong-magnitude: Private ordinary functions
ff-rumble-weak-magnitude: Private ordinary functions
ff-trigger-button: Private ordinary functions
ff-trigger-interval: Private ordinary functions
free-device: Private ordinary functions
Function, %var-accessor-errno: Private ordinary functions
Function, (setf %var-accessor-errno): Private ordinary functions
Function, (setf axis-info-flat): Private ordinary functions
Function, (setf axis-info-fuzz): Private ordinary functions
Function, (setf axis-info-maximum): Private ordinary functions
Function, (setf axis-info-minimum): Private ordinary functions
Function, (setf axis-info-resolution): Private ordinary functions
Function, (setf axis-info-value): Private ordinary functions
Function, (setf blacklisted-p): Public ordinary functions
Function, (setf button-down-code): Private ordinary functions
Function, (setf button-down-device): Private ordinary functions
Function, (setf button-down-label): Private ordinary functions
Function, (setf button-down-time): Private ordinary functions
Function, (setf button-up-code): Private ordinary functions
Function, (setf button-up-device): Private ordinary functions
Function, (setf button-up-label): Private ordinary functions
Function, (setf button-up-time): Private ordinary functions
Function, (setf dead-zone): Public ordinary functions
Function, (setf device-mapping): Public ordinary functions
Function, (setf effect-data): Private ordinary functions
Function, (setf effect-direction): Private ordinary functions
Function, (setf effect-id): Private ordinary functions
Function, (setf effect-replay): Private ordinary functions
Function, (setf effect-trigger): Private ordinary functions
Function, (setf effect-type): Private ordinary functions
Function, (setf event-code): Public ordinary functions
Function, (setf event-code): Private ordinary functions
Function, (setf event-device): Public ordinary functions
Function, (setf event-label): Public ordinary functions
Function, (setf event-old-value): Public ordinary functions
Function, (setf event-sec): Private ordinary functions
Function, (setf event-time): Public ordinary functions
Function, (setf event-type): Private ordinary functions
Function, (setf event-usec): Private ordinary functions
Function, (setf event-value): Public ordinary functions
Function, (setf event-value): Private ordinary functions
Function, (setf ff-condition-center): Private ordinary functions
Function, (setf ff-condition-deadband): Private ordinary functions
Function, (setf ff-condition-left-coefficient): Private ordinary functions
Function, (setf ff-condition-left-saturation): Private ordinary functions
Function, (setf ff-condition-right-coefficient): Private ordinary functions
Function, (setf ff-condition-right-saturation): Private ordinary functions
Function, (setf ff-constant-envelope): Private ordinary functions
Function, (setf ff-constant-level): Private ordinary functions
Function, (setf ff-envelope-attack-length): Private ordinary functions
Function, (setf ff-envelope-attack-level): Private ordinary functions
Function, (setf ff-envelope-fade-length): Private ordinary functions
Function, (setf ff-envelope-fade-level): Private ordinary functions
Function, (setf ff-periodic-custom-data): Private ordinary functions
Function, (setf ff-periodic-custom-length): Private ordinary functions
Function, (setf ff-periodic-envelope): Private ordinary functions
Function, (setf ff-periodic-magnitude): Private ordinary functions
Function, (setf ff-periodic-offset): Private ordinary functions
Function, (setf ff-periodic-period): Private ordinary functions
Function, (setf ff-periodic-phase): Private ordinary functions
Function, (setf ff-periodic-waveform): Private ordinary functions
Function, (setf ff-ramp-end-level): Private ordinary functions
Function, (setf ff-ramp-envelope): Private ordinary functions
Function, (setf ff-ramp-start-level): Private ordinary functions
Function, (setf ff-replay-delay): Private ordinary functions
Function, (setf ff-replay-length): Private ordinary functions
Function, (setf ff-rumble-strong-magnitude): Private ordinary functions
Function, (setf ff-rumble-weak-magnitude): Private ordinary functions
Function, (setf ff-trigger-button): Private ordinary functions
Function, (setf ff-trigger-interval): Private ordinary functions
Function, (setf inotify-cookie): Private ordinary functions
Function, (setf inotify-length): Private ordinary functions
Function, (setf inotify-mask): Private ordinary functions
Function, (setf inotify-name): Private ordinary functions
Function, (setf inotify-wd): Private ordinary functions
Function, (setf pollfd-events): Private ordinary functions
Function, (setf pollfd-fd): Private ordinary functions
Function, (setf pollfd-revents): Private ordinary functions
Function, (setf ramp): Public ordinary functions
Function, add-watch: Private ordinary functions
Function, axis: Public ordinary functions
Function, axis-info-flat: Private ordinary functions
Function, axis-info-fuzz: Private ordinary functions
Function, axis-info-maximum: Private ordinary functions
Function, axis-info-minimum: Private ordinary functions
Function, axis-info-resolution: Private ordinary functions
Function, axis-info-value: Private ordinary functions
Function, axis-move-p: Private ordinary functions
Function, axis-to-float: Private ordinary functions
Function, blacklisted-p: Public ordinary functions
Function, button: Public ordinary functions
Function, button-down-code: Private ordinary functions
Function, button-down-device: Private ordinary functions
Function, button-down-label: Private ordinary functions
Function, button-down-p: Private ordinary functions
Function, button-down-time: Private ordinary functions
Function, button-up-code: Private ordinary functions
Function, button-up-device: Private ordinary functions
Function, button-up-label: Private ordinary functions
Function, button-up-p: Private ordinary functions
Function, button-up-time: Private ordinary functions
Function, call-with-device-events: Private ordinary functions
Function, call-with-devices: Public ordinary functions
Function, call-with-polling: Private ordinary functions
Function, change-fd: Private ordinary functions
Function, circular-rezone: Private ordinary functions
Function, clamp: Private ordinary functions
Function, close-device: Private ordinary functions
Function, configurator-main: Private ordinary functions
Function, configure-device: Public ordinary functions
Function, copy-axis-move: Private ordinary functions
Function, copy-button-down: Private ordinary functions
Function, copy-button-up: Private ordinary functions
Function, copy-event: Private ordinary functions
Function, copyhash: Private ordinary functions
Function, dead-zone: Public ordinary functions
Function, dev-gamepad-p: Private ordinary functions
Function, device-axis-map: Private ordinary functions
Function, device-button-map: Private ordinary functions
Function, device-mapping: Public ordinary functions
Function, effect-data: Private ordinary functions
Function, effect-direction: Private ordinary functions
Function, effect-id: Private ordinary functions
Function, effect-replay: Private ordinary functions
Function, effect-trigger: Private ordinary functions
Function, effect-type: Private ordinary functions
Function, ensure-device: Public ordinary functions
Function, ensure-device: Private ordinary functions
Function, ensure-function: Private ordinary functions
Function, error-message: Private ordinary functions
Function, event-code: Public ordinary functions
Function, event-code: Private ordinary functions
Function, event-device: Public ordinary functions
Function, event-label: Public ordinary functions
Function, event-old-value: Public ordinary functions
Function, event-p: Private ordinary functions
Function, event-sec: Private ordinary functions
Function, event-time: Public ordinary functions
Function, event-type: Private ordinary functions
Function, event-usec: Private ordinary functions
Function, event-value: Public ordinary functions
Function, event-value: Private ordinary functions
Function, ff-condition-center: Private ordinary functions
Function, ff-condition-deadband: Private ordinary functions
Function, ff-condition-left-coefficient: Private ordinary functions
Function, ff-condition-left-saturation: Private ordinary functions
Function, ff-condition-right-coefficient: Private ordinary functions
Function, ff-condition-right-saturation: Private ordinary functions
Function, ff-constant-envelope: Private ordinary functions
Function, ff-constant-level: Private ordinary functions
Function, ff-envelope-attack-length: Private ordinary functions
Function, ff-envelope-attack-level: Private ordinary functions
Function, ff-envelope-fade-length: Private ordinary functions
Function, ff-envelope-fade-level: Private ordinary functions
Function, ff-periodic-custom-data: Private ordinary functions
Function, ff-periodic-custom-length: Private ordinary functions
Function, ff-periodic-envelope: Private ordinary functions
Function, ff-periodic-magnitude: Private ordinary functions
Function, ff-periodic-offset: Private ordinary functions
Function, ff-periodic-period: Private ordinary functions
Function, ff-periodic-phase: Private ordinary functions
Function, ff-periodic-waveform: Private ordinary functions
Function, ff-ramp-end-level: Private ordinary functions
Function, ff-ramp-envelope: Private ordinary functions
Function, ff-ramp-start-level: Private ordinary functions
Function, ff-replay-delay: Private ordinary functions
Function, ff-replay-length: Private ordinary functions
Function, ff-rumble-strong-magnitude: Private ordinary functions
Function, ff-rumble-weak-magnitude: Private ordinary functions
Function, ff-trigger-button: Private ordinary functions
Function, ff-trigger-interval: Private ordinary functions
Function, free-device: Private ordinary functions
Function, get-axis-info: Private ordinary functions
Function, get-driver-version: Private ordinary functions
Function, get-id-bustype: Private ordinary functions
Function, get-id-product: Private ordinary functions
Function, get-id-vendor: Private ordinary functions
Function, get-id-version: Private ordinary functions
Function, get-name: Private ordinary functions
Function, get-uniq: Private ordinary functions
Function, has-event-code: Private ordinary functions
Function, has-event-pending: Private ordinary functions
Function, has-event-type: Private ordinary functions
Function, has-property: Private ordinary functions
Function, id-label: Private ordinary functions
Function, init: Public ordinary functions
Function, inotify-cookie: Private ordinary functions
Function, inotify-length: Private ordinary functions
Function, inotify-mask: Private ordinary functions
Function, inotify-name: Private ordinary functions
Function, inotify-wd: Private ordinary functions
Function, inverse-gethash: Private ordinary functions
Function, ioctl: Private ordinary functions
Function, label-id: Private ordinary functions
Function, linux-error: Private ordinary functions
Function, list-devices: Public ordinary functions
Function, make-axis-move: Private ordinary functions
Function, make-button-down: Private ordinary functions
Function, make-button-up: Private ordinary functions
Function, make-device-from-path: Private ordinary functions
Function, make-event: Private ordinary functions
Function, map-plist: Private ordinary functions
Function, mapping-id<: Private ordinary functions
Function, memset: Private ordinary functions
Function, monitor-device: Public ordinary functions
Function, new-from-fd: Private ordinary functions
Function, new-inotify: Private ordinary functions
Function, next-event: Private ordinary functions
Function, normalize-mapping-id: Private ordinary functions
Function, note-event: Private ordinary functions
Function, out: Private ordinary functions
Function, plist-map: Private ordinary functions
Function, poll: Private ordinary functions
Function, poll-devices: Public ordinary functions
Function, poll-events: Public ordinary functions
Function, pollfd-events: Private ordinary functions
Function, pollfd-fd: Private ordinary functions
Function, pollfd-revents: Private ordinary functions
Function, prefix-p: Private ordinary functions
Function, probe-device-effect: Private ordinary functions
Function, process-connect-events: Private ordinary functions
Function, query-labels: Private ordinary functions
Function, ramp: Public ordinary functions
Function, refresh-devices: Private ordinary functions
Function, remove-device-mapping: Public ordinary functions
Function, rumble: Public ordinary functions
Function, save-device-mappings: Public ordinary functions
Function, shutdown: Public ordinary functions
Function, sibling-id: Private ordinary functions
Function, signal-axis-move: Private ordinary functions
Function, signal-button-down: Private ordinary functions
Function, signal-button-up: Private ordinary functions
Function, square-rezone: Private ordinary functions
Function, translate-event: Private ordinary functions
Function, u-close: Private ordinary functions
Function, u-open: Private ordinary functions
Function, u-read: Private ordinary functions
Function, u-write: Private ordinary functions
Function, update-mapping-in-device: Private ordinary functions
function-name: Private generic functions
function-name: Private generic functions

G
Generic Function, (setf axis-dead-zones): Private generic functions
Generic Function, (setf axis-map): Private generic functions
Generic Function, (setf axis-ramps): Private generic functions
Generic Function, (setf axis-raw-states): Private generic functions
Generic Function, (setf axis-states): Private generic functions
Generic Function, (setf button-map): Private generic functions
Generic Function, (setf button-states): Private generic functions
Generic Function, (setf icon-type): Public generic functions
Generic Function, (setf orientation-map): Private generic functions
Generic Function, axis-dead-zones: Private generic functions
Generic Function, axis-map: Private generic functions
Generic Function, axis-ramps: Private generic functions
Generic Function, axis-raw-states: Private generic functions
Generic Function, axis-states: Private generic functions
Generic Function, button-map: Private generic functions
Generic Function, button-states: Private generic functions
Generic Function, code: Private generic functions
Generic Function, dev: Private generic functions
Generic Function, driver: Public generic functions
Generic Function, effect: Private generic functions
Generic Function, fd: Private generic functions
Generic Function, function-name: Private generic functions
Generic Function, icon-type: Public generic functions
Generic Function, id: Private generic functions
Generic Function, message: Private generic functions
Generic Function, name: Public generic functions
Generic Function, orientation-map: Private generic functions
Generic Function, product: Public generic functions
Generic Function, vendor: Public generic functions
Generic Function, version: Public generic functions
get-axis-info: Private ordinary functions
get-driver-version: Private ordinary functions
get-id-bustype: Private ordinary functions
get-id-product: Private ordinary functions
get-id-vendor: Private ordinary functions
get-id-version: Private ordinary functions
get-name: Private ordinary functions
get-uniq: Private ordinary functions

H
has-event-code: Private ordinary functions
has-event-pending: Private ordinary functions
has-event-type: Private ordinary functions
has-property: Private ordinary functions

I
icon-type: Public generic functions
icon-type: Public generic functions
id: Private generic functions
id: Private generic functions
id-label: Private compiler macros
id-label: Private ordinary functions
init: Public ordinary functions
initialize-instance: Public standalone methods
inotify-cookie: Private ordinary functions
inotify-length: Private ordinary functions
inotify-mask: Private ordinary functions
inotify-name: Private ordinary functions
inotify-wd: Private ordinary functions
inverse-gethash: Private ordinary functions
ioctl: Private ordinary functions

L
label-id: Private compiler macros
label-id: Private ordinary functions
linux-error: Private ordinary functions
list-devices: Public ordinary functions

M
Macro, %with-updated-event: Private macros
Macro, check-errno: Private macros
Macro, define-device-mapping: Public macros
Macro, define-global: Private macros
Macro, with-device-failures: Private macros
make-axis-move: Private ordinary functions
make-button-down: Private ordinary functions
make-button-up: Private ordinary functions
make-device-from-path: Private ordinary functions
make-event: Private ordinary functions
map-plist: Private ordinary functions
mapping-id<: Private ordinary functions
memset: Private ordinary functions
message: Private generic functions
message: Private generic functions
Method, (setf axis-dead-zones): Private generic functions
Method, (setf axis-map): Private generic functions
Method, (setf axis-ramps): Private generic functions
Method, (setf axis-raw-states): Private generic functions
Method, (setf axis-states): Private generic functions
Method, (setf button-map): Private generic functions
Method, (setf button-states): Private generic functions
Method, (setf icon-type): Public generic functions
Method, (setf orientation-map): Private generic functions
Method, axis-dead-zones: Private generic functions
Method, axis-map: Private generic functions
Method, axis-ramps: Private generic functions
Method, axis-raw-states: Private generic functions
Method, axis-states: Private generic functions
Method, button-map: Private generic functions
Method, button-states: Private generic functions
Method, code: Private generic functions
Method, dev: Private generic functions
Method, driver: Public generic functions
Method, effect: Private generic functions
Method, fd: Private generic functions
Method, function-name: Private generic functions
Method, icon-type: Public generic functions
Method, id: Private generic functions
Method, initialize-instance: Public standalone methods
Method, message: Private generic functions
Method, name: Public generic functions
Method, orientation-map: Private generic functions
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, product: Public generic functions
Method, vendor: Public generic functions
Method, version: Public generic functions
monitor-device: Public ordinary functions

N
name: Public generic functions
name: Public generic functions
new-from-fd: Private ordinary functions
new-inotify: Private ordinary functions
next-event: Private ordinary functions
normalize-mapping-id: Private ordinary functions
note-event: Private ordinary functions

O
orientation-map: Private generic functions
orientation-map: Private generic functions
out: Private ordinary functions

P
plist-map: Private ordinary functions
poll: Private ordinary functions
poll-devices: Public ordinary functions
poll-events: Public ordinary functions
pollfd-events: Private ordinary functions
pollfd-fd: Private ordinary functions
pollfd-revents: Private ordinary functions
prefix-p: Private ordinary functions
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
probe-device-effect: Private ordinary functions
process-connect-events: Private ordinary functions
product: Public generic functions
product: Public generic functions

Q
query-labels: Private ordinary functions

R
ramp: Public ordinary functions
refresh-devices: Private ordinary functions
remove-device-mapping: Public ordinary functions
rumble: Public ordinary functions

S
save-device-mappings: Public ordinary functions
shutdown: Public ordinary functions
sibling-id: Private ordinary functions
signal-axis-move: Private ordinary functions
signal-button-down: Private ordinary functions
signal-button-up: Private ordinary functions
square-rezone: Private ordinary functions

T
translate-event: Private ordinary functions

U
u-close: Private ordinary functions
u-open: Private ordinary functions
u-read: Private ordinary functions
u-write: Private ordinary functions
update-mapping-in-device: Private ordinary functions

V
vendor: Public generic functions
vendor: Public generic functions
version: Public generic functions
version: Public generic functions

W
with-device-failures: Private macros


A.3 Variables

Jump to:   *  
A   B   C   D   E   F   I   L   M   N   O   P   S   T   V  
Index Entry  Section

*
*blacklist*: Private special variables
*default-mappings-file*: Public special variables
*device-mappings*: Private special variables
*device-notify*: Private special variables
*device-table*: Private special variables
*here*: Private special variables
*here*: Private special variables
*static*: Private special variables

A
axis-dead-zones: Public classes
axis-map: Public classes
axis-ramps: Public classes
axis-raw-states: Public classes
axis-states: Public classes

B
button-map: Public classes
button-states: Public classes

C
code: Public structures
code: Private conditions

D
dev: Private classes
device: Public structures
driver: Public classes

E
effect: Private classes
errno: Private symbol macros

F
fd: Private classes
function-name: Private conditions

I
icon-type: Public classes
id: Private classes

L
label: Public structures

M
message: Private conditions

N
name: Public classes

O
old-value: Public structures
orientation-map: Public classes

P
product: Public classes

S
Slot, axis-dead-zones: Public classes
Slot, axis-map: Public classes
Slot, axis-ramps: Public classes
Slot, axis-raw-states: Public classes
Slot, axis-states: Public classes
Slot, button-map: Public classes
Slot, button-states: Public classes
Slot, code: Public structures
Slot, code: Private conditions
Slot, dev: Private classes
Slot, device: Public structures
Slot, driver: Public classes
Slot, effect: Private classes
Slot, fd: Private classes
Slot, function-name: Private conditions
Slot, icon-type: Public classes
Slot, id: Private classes
Slot, label: Public structures
Slot, message: Private conditions
Slot, name: Public classes
Slot, old-value: Public structures
Slot, orientation-map: Public classes
Slot, product: Public classes
Slot, time: Public structures
Slot, value: Public structures
Slot, vendor: Public classes
Slot, version: Public classes
Special Variable, *blacklist*: Private special variables
Special Variable, *default-mappings-file*: Public special variables
Special Variable, *device-mappings*: Private special variables
Special Variable, *device-notify*: Private special variables
Special Variable, *device-table*: Private special variables
Special Variable, *here*: Private special variables
Special Variable, *here*: Private special variables
Special Variable, *static*: Private special variables
Symbol Macro, errno: Private symbol macros

T
time: Public structures

V
value: Public structures
vendor: Public classes
version: Public classes


A.4 Data types

Jump to:   A   B   C   D   E   F   G   I   L   M   N   O   P   S   W   X  
Index Entry  Section

A
axis-info-tclass: Private classes
axis-move: Public structures

B
button-down: Public structures
button-up: Public structures

C
cl-gamepad: The cl-gamepad system
cl-gamepad.asd: The cl-gamepad/cl-gamepad․asd file
Class, axis-info-tclass: Private classes
Class, device: Public classes
Class, device: Private classes
Class, effect-tclass: Private classes
Class, event-tclass: Private classes
Class, ff-condition-tclass: Private classes
Class, ff-constant-tclass: Private classes
Class, ff-envelope-tclass: Private classes
Class, ff-periodic-tclass: Private classes
Class, ff-ramp-tclass: Private classes
Class, ff-replay-tclass: Private classes
Class, ff-rumble-tclass: Private classes
Class, ff-trigger-tclass: Private classes
Class, inotify-tclass: Private classes
Class, pollfd-tclass: Private classes
common.lisp: The cl-gamepad/common․lisp file
Condition, gamepad-error: Public conditions
Condition, linux-error: Private conditions
configurator.lisp: The cl-gamepad/configurator․lisp file
corefoundation-cffi.lisp: The cl-gamepad/corefoundation-cffi․lisp file

D
darwin.lisp: The cl-gamepad/darwin․lisp file
default-device-mappings.lisp: The cl-gamepad/default-device-mappings․lisp file
device: Public classes
device: Private classes
dinput-cffi.lisp: The cl-gamepad/dinput-cffi․lisp file
documentation.lisp: The cl-gamepad/documentation․lisp file

E
effect-tclass: Private classes
evdev-cffi.lisp: The cl-gamepad/evdev-cffi․lisp file
event: Public structures
event-tclass: Private classes

F
ff-condition-tclass: Private classes
ff-constant-tclass: Private classes
ff-envelope-tclass: Private classes
ff-periodic-tclass: Private classes
ff-ramp-tclass: Private classes
ff-replay-tclass: Private classes
ff-rumble-tclass: Private classes
ff-trigger-tclass: Private classes
File, cl-gamepad.asd: The cl-gamepad/cl-gamepad․asd file
File, common.lisp: The cl-gamepad/common․lisp file
File, configurator.lisp: The cl-gamepad/configurator․lisp file
File, corefoundation-cffi.lisp: The cl-gamepad/corefoundation-cffi․lisp file
File, darwin.lisp: The cl-gamepad/darwin․lisp file
File, default-device-mappings.lisp: The cl-gamepad/default-device-mappings․lisp file
File, dinput-cffi.lisp: The cl-gamepad/dinput-cffi․lisp file
File, documentation.lisp: The cl-gamepad/documentation․lisp file
File, evdev-cffi.lisp: The cl-gamepad/evdev-cffi․lisp file
File, iokit-cffi.lisp: The cl-gamepad/iokit-cffi․lisp file
File, linux.lisp: The cl-gamepad/linux․lisp file
File, mapping.lisp: The cl-gamepad/mapping․lisp file
File, nx-cffi.lisp: The cl-gamepad/nx-cffi․lisp file
File, nx.lisp: The cl-gamepad/nx․lisp file
File, package.lisp: The cl-gamepad/package․lisp file
File, protocol.lisp: The cl-gamepad/protocol․lisp file
File, win32-cffi.lisp: The cl-gamepad/win32-cffi․lisp file
File, windows.lisp: The cl-gamepad/windows․lisp file
File, xinput-cffi.lisp: The cl-gamepad/xinput-cffi․lisp file

G
gamepad-error: Public conditions

I
inotify-tclass: Private classes
iokit-cffi.lisp: The cl-gamepad/iokit-cffi․lisp file

L
linux-error: Private conditions
linux.lisp: The cl-gamepad/linux․lisp file

M
mapping.lisp: The cl-gamepad/mapping․lisp file

N
nx-cffi.lisp: The cl-gamepad/nx-cffi․lisp file
nx.lisp: The cl-gamepad/nx․lisp file

O
org.shirakumo.fraf.gamepad: The org․shirakumo․fraf․gamepad package
org.shirakumo.fraf.gamepad.impl: The org․shirakumo․fraf․gamepad․impl package

P
Package, org.shirakumo.fraf.gamepad: The org․shirakumo․fraf․gamepad package
Package, org.shirakumo.fraf.gamepad.impl: The org․shirakumo․fraf․gamepad․impl package
package.lisp: The cl-gamepad/package․lisp file
pollfd-tclass: Private classes
protocol.lisp: The cl-gamepad/protocol․lisp file

S
Structure, axis-move: Public structures
Structure, button-down: Public structures
Structure, button-up: Public structures
Structure, event: Public structures
System, cl-gamepad: The cl-gamepad system

W
win32-cffi.lisp: The cl-gamepad/win32-cffi․lisp file
windows.lisp: The cl-gamepad/windows․lisp file

X
xinput-cffi.lisp: The cl-gamepad/xinput-cffi․lisp file