Unit 'gccore' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#libogcfpc]

wiimote_t

Declaration

Source position: wiiuse.inc line 378

type wiimote_t = packed record

  unid: cint;

  cmdq: lwp_queue;

  bdaddr: _bd_addr;

  bdaddr_str: array [0..17] of char;

  sock: pbte_pcb;

  event_cb: wii_event_cb;

  state: cint;

  leds: ubyte;

  battery_level: ubyte;

  flags: cint;

  handshake_state: ubyte;

  expansion_state: ubyte;

  data_req: Pdata_req_t;

  cmd_head: Pcmd_blk_t;

  cmd_tail: Pcmd_blk_t;

  accel_calib: accel_t;

  exp: expansion_t;

  accel: vec3w_t;

  orient: orient_t;

  gforce: gforce_t;

  ir: ir_t;

  btns: cushort;

  btns_last: cushort;

  btns_held: cushort;

  btns_released: cushort;

  lstate: wiimote_state_t;

  event: WIIUSE_EVENT_TYPE;

  event_buf: array [0..MAX_PAYLOAD-1] of ubyte;

  motion_plus_id: array [0..5] of ubyte;

end;


Documentation generated on: 2023-03-18