libhd
5.0
|
Input device scan functions. More...
Macros | |
#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 (const char *str, unsigned bit) |
void | hd_scan_input (hd_data_t *hd_data) |
void | add_joystick_details (hd_data_t *hd_data, hd_t *h, const char *key, const char *abso) |
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().
References ADD2LOG, joystick_s::axes, joystick_s::buttons, hd_detail_joystick_t::data, s_hd_t::detail, free_hd_detail(), hd_detail_joystick, hd_detail_t::joystick, new_mem(), test_bit(), and hd_detail_t::type.
Referenced by get_input_devices().
|
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().
|
static |
References ADD2LOG, add_hd_entry(), add_joystick_details(), s_str_list_t::add_str_list(), all_bits(), s_hd_t::base_class, bc_joystick, bc_keyboard, bc_mouse, s_hd_t::bus, bus_adb, bus_gameport, 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_data, hd_set_hw_class(), hd_split(), hw_joystick, 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_str_list_t::next, s_hd_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, vendor, and s_hd_t::vendor.
Referenced by hd_scan_input().
void hd_scan_input | ( | hd_data_t * | hd_data | ) |
References get_input_devices(), hd_data, hd_probe_feature(), load_module(), mod_input, hd_data_t::module, pr_input, PROGRESS, and remove_hd_entries().
Referenced by hd_scan_no_hal().
|
static |
Referenced by add_joystick_details(), and get_input_devices().