libhd 5.0
|
Input device scan functions. More...
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) |
Input device scan functions.
#define INP_ABS "B: ABS=" |
Referenced by get_input_devices().
#define INP_HANDLERS "H: Handlers=" |
Referenced by get_input_devices().
#define INP_KEY "B: KEY=" |
Referenced by get_input_devices().
#define INP_NAME "N: Name=" |
Referenced by get_input_devices().
#define INP_REL "B: REL=" |
Referenced by get_input_devices().
char * all_bits | ( | char * | str | ) | [static] |
References free_mem(), s_str_list_t::free_str_list(), hd_split(), s_str_list_t::next, s_str_list_t::str, and str_printf().
Referenced by get_input_devices().
void get_input_devices | ( | hd_data_t * | hd_data | ) | [static] |
References ADD2LOG, add_hd_entry(), s_str_list_t::add_str_list(), all_bits(), s_hd_t::base_class, bc_keyboard, bc_mouse, s_hd_t::bus, bus_adb, bus_ps2, canon_str(), s_hd_t::compat_device, s_hd_t::compat_vendor, DEV_MICE, s_hd_t::device, free_mem(), s_str_list_t::free_str_list(), hd_data_t::hd, hd_set_hw_class(), hd_split(), hw_mouse, hd_id_t::id, INP_ABS, INP_HANDLERS, INP_KEY, INP_NAME, INP_REL, input(), hd_dev_num_t::major, MAKE_ID, hd_dev_num_t::minor, hd_id_t::name, new_str(), s_hd_t::next, s_str_list_t::next, read_file(), sc_keyboard_kbd, sc_mou_bus, sc_mou_ps2, sc_mou_usb, s_str_list_t::search_str_list(), s_str_list_t::str, str_printf(), s_hd_t::sub_class, TAG_SPECIAL, test_bit(), s_hd_t::unix_dev_name, s_hd_t::unix_dev_name2, s_hd_t::unix_dev_names, s_hd_t::unix_dev_num, s_hd_t::unix_dev_num2, s_hd_t::vendor, and vendor.
Referenced by hd_scan_input().
void hd_scan_input | ( | hd_data_t * | hd_data | ) |
References get_input_devices(), hd_probe_feature(), load_module(), mod_input, hd_data_t::module, pr_input, PROGRESS, and remove_hd_entries().
Referenced by hd_scan_no_hal().
int test_bit | ( | char * | str, |
unsigned | bit | ||
) | [static] |
Referenced by get_input_devices().