unsigned major
Definition: hd.h:1009
str_list_t * read_file(char *file_name, unsigned start_line, unsigned lines)
Definition: hd.c:2527
@ sc_mou_ps2
Definition: hd.h:227
char * unix_dev_name2
Special device file.
Definition: hd.h:2369
hd_id_t base_class
Base class (id and name).
Definition: hd.h:2231
@ sc_mou_bus
Definition: hd.h:227
hd_t * hd
Current hardware list.
Definition: hd.h:2610
str_list_t * search_str_list(str_list_t *sl, char *str)
Definition: hd.c:2464
void remove_hd_entries(hd_data_t *hd_data)
Definition: hd.c:2711
@ hw_joystick
Definition: hd.h:138
char * canon_str(char *s, int len)
Definition: hd.c:2191
char * new_str(const char *s)
Definition: hd.c:1577
#define PROGRESS(a, b, c)
Definition: hd_int.h:61
enum hd_detail_type type
Definition: hd.h:2142
str_list_t * hd_split(char del, const char *str)
Definition: hd.c:5122
@ bus_adb
Definition: hd.h:298
struct s_str_list_t * next
Link to next member.
Definition: hd.h:407
@ mod_input
Definition: hd_int.h:79
hd_id_t compat_device
Device id and name of some compatible hardware.
Definition: hd.h:2299
char * unix_dev_name
Special device file.
Definition: hd.h:2348
str_list_t * unix_dev_names
List of device names.
Definition: hd.h:2361
Individual hardware item.
Definition: hd.h:2196
@ bc_mouse
Definition: hd.h:164
@ vendor
Definition: isdn_cdb_def.h:5
struct s_hd_t * next
Link to next hardware item.
Definition: hd.h:2197
hd_id_t device
Device id and name.
Definition: hd.h:2259
joystick_t * data
Definition: hd.h:2138
@ hd_detail_joystick
Definition: hd.h:2067
str_list_t * free_str_list(str_list_t *list)
Definition: hd.c:2493
@ bus_ps2
outside the range of the PCI values
Definition: hd.h:297
hd_detail_t * free_hd_detail(hd_detail_t *d)
Definition: hd.c:1213
unsigned module
(Internal) the current probing module we are in
Definition: hd.h:2681
#define ADD2LOG(a...)
Definition: hd_int.h:62
String list type.
Definition: hd.h:406
void hd_set_hw_class(hd_t *hd, hd_hw_item_t hw_class)
Definition: hd.c:5238
int load_module(hd_data_t *hd_data, char *module)
Definition: hd.c:3859
hd_detail_t * detail
Special info associated with this hardware.
Definition: hd.h:2433
@ pr_input
Definition: hd.h:120
hd_t * add_hd_entry(hd_data_t *hd_data, unsigned line, unsigned count)
Definition: hd.c:1777
@ bc_keyboard
Definition: hd.h:165
@ bc_joystick
Definition: hd.h:166
int hd_probe_feature(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:579
#define MAKE_ID(tag, id_val)
Combine tag and id value.
Definition: hd.h:102
device number; type is either 0 or 'b' or 'c'.
Definition: hd.h:1007
unsigned id
Numeric id.
Definition: hd.h:397
hd_id_t compat_vendor
Vendor id and name of some compatible hardware.
Definition: hd.h:2293
Joystick details.
Definition: hd.h:1282
hd_id_t sub_class
Sub class (id and name).
Definition: hd.h:2236
hd_dev_num_t unix_dev_num2
Device type & number according to sysfs.
Definition: hd.h:2374
@ bus_gameport
Definition: hd.h:299
@ sc_mou_usb
Definition: hd.h:227
@ hw_mouse
Definition: hd.h:137
hd_dev_num_t unix_dev_num
Device type & number according to sysfs.
Definition: hd.h:2353
hd_id_t vendor
Vendor id and name.
Definition: hd.h:2249
char * name
Name (if any) that corresponds to hd_id_t::id.
Definition: hd.h:398
hd_id_t bus
Bus type (id and name).
Definition: hd.h:2215
unsigned minor
Definition: hd.h:1009
static hd_data_t * hd_data
Definition: pppoe.c:29
void str_printf(char **buf, int offset, char *format,...)
Definition: hd.c:2401
static int input(void)
Definition: lex.yy.c:1479
#define DEV_MICE
Definition: hd_int.h:38
str_list_t * add_str_list(str_list_t **sl, char *str)
Definition: hd.c:2479
unsigned char axes
Definition: hd.h:1284
#define TAG_SPECIAL
Internally used ids.
Definition: hd.h:86
Holds all data accumulated during hardware probing.
Definition: hd.h:2604
void * new_mem(size_t size)
Definition: hd.c:1535
@ sc_keyboard_kbd
Definition: hd.h:252
hd_detail_joystick_t joystick
Definition: hd.h:2156
unsigned char buttons
Definition: hd.h:1283
char * str
Some string data.
Definition: hd.h:408
void * free_mem(void *p)
Definition: hd.c:1594