Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/atkbdc/psm.c
Show First 20 Lines • Show All 507 Lines • ▼ Show 20 Lines | |||||
#define kbdcp(p) ((atkbdc_softc_t *)(p)) | #define kbdcp(p) ((atkbdc_softc_t *)(p)) | ||||
#define ALWAYS_RESTORE_CONTROLLER(kbdc) !(kbdcp(kbdc)->quirks \ | #define ALWAYS_RESTORE_CONTROLLER(kbdc) !(kbdcp(kbdc)->quirks \ | ||||
& KBDC_QUIRK_KEEP_ACTIVATED) | & KBDC_QUIRK_KEEP_ACTIVATED) | ||||
/* Tunables */ | /* Tunables */ | ||||
static int tap_enabled = -1; | static int tap_enabled = -1; | ||||
static int verbose = PSM_DEBUG; | static int verbose = PSM_DEBUG; | ||||
static int synaptics_support = 0; | static int synaptics_support = 1; | ||||
static int trackpoint_support = 0; | static int trackpoint_support = 1; | ||||
static int elantech_support = 0; | static int elantech_support = 1; | ||||
/* for backward compatibility */ | /* for backward compatibility */ | ||||
#define OLD_MOUSE_GETHWINFO _IOR('M', 1, old_mousehw_t) | #define OLD_MOUSE_GETHWINFO _IOR('M', 1, old_mousehw_t) | ||||
#define OLD_MOUSE_GETMODE _IOR('M', 2, old_mousemode_t) | #define OLD_MOUSE_GETMODE _IOR('M', 2, old_mousemode_t) | ||||
#define OLD_MOUSE_SETMODE _IOW('M', 3, old_mousemode_t) | #define OLD_MOUSE_SETMODE _IOW('M', 3, old_mousemode_t) | ||||
typedef struct old_mousehw { | typedef struct old_mousehw { | ||||
int buttons; | int buttons; | ||||
▲ Show 20 Lines • Show All 7,024 Lines • Show Last 20 Lines |