ASCII-GFX  2.0
mouse.h
Go to the documentation of this file.
1 // mouse input for NCurses
2 // (c) 2023 by Stefan Roettger
3 
4 #pragma once
5 
6 #include "gfx.h"
7 
9 void mouse_init();
10 
25 bool mouse_keycode(int keycode,
26  unsigned int *x, unsigned int *y,
27  unsigned int *buttons);
28 
30 void mouse_exit();
mouse_keycode
bool mouse_keycode(int keycode, unsigned int *x, unsigned int *y, unsigned int *buttons)
decode wide keycode
Definition: mouse.cpp:14
gfx.h
mouse_init
void mouse_init()
init mouse reporting
Definition: mouse.cpp:7
mouse_exit
void mouse_exit()
exit mouse reporting
Definition: mouse.cpp:36