Lines Matching defs:values
230 variable_joystick *values
232 if (values == NULL)
235 ssize_t result = read_pos(fFD, i, values->data,
236 values->data_size);
240 if ((size_t)result != values->data_size)
246 // fill in the legacy values for the first stick
247 timestamp = *values->timestamp;
249 if (values->axis_count >= 1)
250 horizontal = values->axes[0];
254 if (values->axis_count >= 2)
255 vertical = values->axes[1];
259 if (values->button_blocks > 0) {
260 button1 = (*values->buttons & 1) == 0;
261 button2 = (*values->buttons & 2) == 0;