Lines Matching defs:keys
62 static void wiimod_keys_in_keys(struct wiimote_data *wdata, const __u8 *keys)
65 !!(keys[0] & 0x01));
67 !!(keys[0] & 0x02));
69 !!(keys[0] & 0x04));
71 !!(keys[0] & 0x08));
73 !!(keys[0] & 0x10));
75 !!(keys[1] & 0x01));
77 !!(keys[1] & 0x02));
79 !!(keys[1] & 0x04));
81 !!(keys[1] & 0x08));
83 !!(keys[1] & 0x10));
85 !!(keys[1] & 0x80));
805 * Nintendo. It provides two additional keys and a separate accelerometer. It
1309 static void wiimod_bboard_in_keys(struct wiimote_data *wdata, const __u8 *keys)
1312 !!(keys[1] & 0x08));