Searched refs:hat_max (Results 1 – 2 of 2) sorted by relevance
844 usage->hat_max = field->logical_maximum; in hidinput_configure_usage()1351 (usage->hat_min < usage->hat_max || usage->hat_dir)) { in hidinput_configure_usage()1462 if (usage->hat_min < usage->hat_max || usage->hat_dir) { in hidinput_hid_event()1465 hat_dir = (value - usage->hat_min) * 8 / (usage->hat_max - usage->hat_min + 1) + 1; in hidinput_hid_event()
460 __s8 hat_max; /* ditto */ member