added hidraw read in main loop