Blame |
Last modification |
View Log
| RSS feed
#if !defined(EVDEV_HANDLER_H)
#define EVDEV_HANDLER_H
#include <stdio.h>
#include <sys/types.h>
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>//for close() for socket
#include <string.h>
#include <linux/joystick.h>
#include <netinet/in.h>
#define test_bit(bit, array) (array[bit/8] & (1<<(bit%8)))
int connect_evdev(char* input_evdev_name);
int blink_evdev_led();
int init_evdevstatus_led();
int poll_evdev();
extern int *evdev_rel_axis;
extern char *evdev_button;
#endif