Lines Matching refs:hwdata
369 joy->hwdata = hw;
521 while (read(joy->hwdata->fd, REP_BUF_DATA(rep), rep->size) == rep->size)
550 if (joy->hwdata->type == BSDJOY_JOY) {
551 while (read(joy->hwdata->fd, &gameport, sizeof gameport) == sizeof gameport) {
593 rep = &joy->hwdata->inreport;
595 while (read(joy->hwdata->fd, REP_BUF_DATA(rep), rep->size) == rep->size) {
597 hdata = hid_start_parse(joy->hwdata->repdesc, 1 << hid_input, rep->rid);
599 hdata = hid_start_parse(joy->hwdata->repdesc, 1 << hid_input);
615 naxe = joy->hwdata->axis_map[joyaxe];
671 if (SDL_strncmp(joy->hwdata->path, "/dev/joy", 8)) {
672 report_free(&joy->hwdata->inreport);
673 hid_dispose_report_desc(joy->hwdata->repdesc);
675 close(joy->hwdata->fd);
676 SDL_free(joy->hwdata->path);
677 SDL_free(joy->hwdata);