Searched refs:sw_values (Results 1 – 2 of 2) sorted by relevance
494 rc = ioctl(fd, EVIOCGSW(sizeof(dev->sw_values)), dev->sw_values); in libevdev_set_fd()594 old = bit_is_set(dev->sw_values, i); in sync_sw_state()600 memcpy(dev->sw_values, swstate, rc); in sync_sw_state()1036 set_bit_state(dev->sw_values, e->code, e->value != 0); in update_sw_state()1352 case EV_SW: value = bit_is_set(dev->sw_values, code); break; in libevdev_get_event_value()
76 unsigned long sw_values[NLONGS(SW_CNT)]; member