$ 0 0 final code for the adc is now: joystick_report.x= (read_adc(4))/4-128;all is now properly working .thx for the help.