Functions

inp_mouse_relative

void inp_mouse_relative(int *x,
int *y)

Fetches the mouse movements.

Arguments

xPointer to the variable that should get the X movement.
yPointer to the variable that should get the Y movement.

inp_mouse_scroll

int inp_mouse_scroll()

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

inp_key_pressed

int inp_key_pressed(int key)

Checks if a key is pressed.

Arguments

keyIndex to the key to check

Returns

Returns 1 if the button is pressed, otherwise 0.

Remarks

Check keys.h for the keys.

inp_key_was_pressed

int inp_key_was_pressed(int key)

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

inp_key_down

int inp_key_down(int key)

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

inp_num_events

int inp_num_events()

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

inp_get_event

INPUT_EVENT inp_get_event(int index)

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

inp_clear_events

void inp_clear_events()

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

inp_mouse_doubleclick

int inp_mouse_doubleclick()

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

inp_key_presses

int inp_key_presses(int key)

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

inp_key_releases

int inp_key_releases(int key)

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

inp_key_state

int inp_key_state(int key)

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

inp_key_name

const char *inp_key_name(int k)

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

inp_key_code

int inp_key_code(const char *key_name)

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

inp_clear_key_states

void inp_clear_key_states()

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

void inp_mouse_relative(int *x,
int *y)
Fetches the mouse movements.
int inp_mouse_scroll()
TODO
int inp_key_pressed(int key)
Checks if a key is pressed.
int inp_key_was_pressed(int key)
TODO
int inp_key_down(int key)
TODO
int inp_num_events()
TODO
INPUT_EVENT inp_get_event(int index)
TODO
void inp_clear_events()
TODO
int inp_mouse_doubleclick()
TODO
int inp_key_presses(int key)
TODO
int inp_key_releases(int key)
TODO
int inp_key_state(int key)
TODO
const char *inp_key_name(int k)
TODO
int inp_key_code(const char *key_name)
TODO
void inp_clear_key_states()
TODO
Close