input.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <linux/input.h>
#include "hd.h"
#include "hd_int.h"
#include "hddb.h"
#include "input.h"

Defines

#define INP_NAME   "N: Name="
#define INP_HANDLERS   "H: Handlers="
#define INP_KEY   "B: KEY="
#define INP_REL   "B: REL="
#define INP_ABS   "B: ABS="

Functions

static void get_input_devices (hd_data_t *hd_data)
static char * all_bits (char *str)
static int test_bit (char *str, unsigned bit)
void hd_scan_input (hd_data_t *hd_data)

Define Documentation

#define INP_ABS   "B: ABS="
 

#define INP_HANDLERS   "H: Handlers="
 

#define INP_KEY   "B: KEY="
 

#define INP_NAME   "N: Name="
 

#define INP_REL   "B: REL="
 


Function Documentation

char * all_bits char *  str  )  [static]
 

void get_input_devices hd_data_t hd_data  )  [static]
 

void hd_scan_input hd_data_t hd_data  ) 
 

int test_bit char *  str,
unsigned  bit
[static]