Xiqual 0.7.2

In file xigfx/xi_main.c:

int xi_main

()

Update mouse cursor (if using multicolour), and handle any input, calling user-specified hooks.

Documentation

Update mouse cursor (if using multicolour), and handle any input, calling user-specified hooks. Use xi_init() or xi_inittag() to set an XI_MAINHOOK tag pointing to your input handler.

The hook will be called with a pointer to a keystate, a modstate and a mousestate (Uint8 *, SDLMod and Uint8, respectively), and two integers (int) with the current mouse coordinates.

Note: You'll have to use SDL's joystick functions yourself in this main loop to read any joysticks, as Xiqual currently has no code relating to joysticks. This might change if anyone ever wants even easier handling.

Author:
Ronny Bangsund
See Also:
xi_init(), xi_inittag(), xi_quit()

Alphabetic index



This page was generated with the help of DOC++.