Lines Matching refs:hat
287 int hat, i, j;
294 if (sw_check(GB(0,64)) || (hat = (GB(6,1) << 3) | GB(60,3)) > 8)
304 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x);
305 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y);
338 if (!sw_parity(GB(0,48)) || (hat = GB(42,4)) > 8)
347 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x);
348 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y);
359 if (!sw_parity(GB(0,43)) || (hat = GB(28,4)) > 8)
367 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x);
368 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y);