Home
last modified time | relevance | path

Searched refs:test_bit (Results 1 – 1 of 1) sorted by relevance

/systemd-251/src/udev/
Dudev-builtin-input_id.c30 #define test_bit(bit, array) ((array[LONG(bit)] >> OFF(bit)) & 1) macro
180 has_keys = test_bit(EV_KEY, bitmask_ev); in test_pointers()
181 has_abs_coordinates = test_bit(ABS_X, bitmask_abs) && test_bit(ABS_Y, bitmask_abs); in test_pointers()
182 has_3d_coordinates = has_abs_coordinates && test_bit(ABS_Z, bitmask_abs); in test_pointers()
183 is_accelerometer = test_bit(INPUT_PROP_ACCELEROMETER, bitmask_props); in test_pointers()
193 is_pointing_stick = test_bit(INPUT_PROP_POINTING_STICK, bitmask_props); in test_pointers()
194 has_stylus = test_bit(BTN_STYLUS, bitmask_key); in test_pointers()
195 has_pen = test_bit(BTN_TOOL_PEN, bitmask_key); in test_pointers()
196 …finger_but_no_pen = test_bit(BTN_TOOL_FINGER, bitmask_key) && !test_bit(BTN_TOOL_PEN, bitmask_key); in test_pointers()
198 has_mouse_button = test_bit(button, bitmask_key); in test_pointers()
[all …]