Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs
hid-input.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/hid.h>
#include <linux/hid-debug.h>
#include "hid-ids.h"

Go to the source code of this file.

Macros

#define unk   KEY_UNKNOWN
 
#define map_abs(c)   hid_map_usage(hidinput, usage, &bit, &max, EV_ABS, (c))
 
#define map_rel(c)   hid_map_usage(hidinput, usage, &bit, &max, EV_REL, (c))
 
#define map_key(c)   hid_map_usage(hidinput, usage, &bit, &max, EV_KEY, (c))
 
#define map_led(c)   hid_map_usage(hidinput, usage, &bit, &max, EV_LED, (c))
 
#define map_abs_clear(c)
 
#define map_key_clear(c)
 

Typedefs

typedef bool(* hid_usage_cmp_t )(struct hid_usage *usage, unsigned int cur_idx, unsigned int val)
 

Macro Definition Documentation

#define map_abs (   c)    hid_map_usage(hidinput, usage, &bit, &max, EV_ABS, (c))

Definition at line 63 of file hid-input.c.

#define map_abs_clear (   c)
Value:
hid_map_usage_clear(hidinput, usage, &bit, \
&max, EV_ABS, (c))

Definition at line 68 of file hid-input.c.

#define map_key (   c)    hid_map_usage(hidinput, usage, &bit, &max, EV_KEY, (c))

Definition at line 65 of file hid-input.c.

#define map_key_clear (   c)
Value:
hid_map_usage_clear(hidinput, usage, &bit, \
&max, EV_KEY, (c))

Definition at line 70 of file hid-input.c.

#define map_led (   c)    hid_map_usage(hidinput, usage, &bit, &max, EV_LED, (c))

Definition at line 66 of file hid-input.c.

#define map_rel (   c)    hid_map_usage(hidinput, usage, &bit, &max, EV_REL, (c))

Definition at line 64 of file hid-input.c.

#define unk   KEY_UNKNOWN

Definition at line 37 of file hid-input.c.

Typedef Documentation

typedef bool(* hid_usage_cmp_t)(struct hid_usage *usage, unsigned int cur_idx, unsigned int val)

Definition at line 94 of file hid-input.c.

Variable Documentation

__s32 x

Definition at line 59 of file hid-input.c.

__s32 y

Definition at line 60 of file hid-input.c.