Project

General

Profile

joystick component

Ports

device (multiple out)

Data structure
  • struct ::or_joystick::state device

    • struct ::or::time::ts ts

      • long sec

      • long nsec

    • sequence< boolean, 16 > buttons

    • sequence< short, 16 > axes


Services

device_list (function)

Outputs
  • sequence< string<32> > device_list

Throws
  • exception ::joystick::e_nomem

Return the list of available devices


rename (activity)

Inputs
  • string<32> name

  • string<32> newname

Throws
  • exception ::joystick::e_sdl

    • string<256> what

  • exception ::joystick::e_noent

Context

Rename an existing device


Tasks

publish

Context
Throws
  • exception ::joystick::e_sdl

    • string<256> what