1 #ifndef h_pnd_io_ioctl_h
2 #define h_pnd_io_ioctl_h
8 // this is a simple 'is key pressed?' type routine, using standard ioctl; if you don't want to
9 // monitor the events and just ewant to see whats up, this can be handy.
10 // returns -1 on error, 0 for 'not down', and >0 for 'is down'
11 int pnd_is_key_down ( int fd, int key );