Lines Matching refs:hat
284 int hat, i, j;
291 if (sw_check(GB(0,64)) || (hat = (GB(6,1) << 3) | GB(60,3)) > 8)
301 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x);
302 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y);
335 if (!sw_parity(GB(0,48)) || (hat = GB(42,4)) > 8)
344 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x);
345 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y);
356 if (!sw_parity(GB(0,43)) || (hat = GB(28,4)) > 8)
364 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x);
365 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y);