  #!/usr/bin/env python
  import os
  import argparse
  from inputs import get_gamepad
  
  import cereal.messaging as messaging
  from common.numpy_fast import interp, clip
  from common.params import Params
 
</s> remove     self.min_axis_value = 0
    self.max_axis_value = 255
 </s> add     # TODO: find a way to get this from API, perhaps "inputs" doesn't support it
    self.min_axis_value = {'ABS_Y': 0., 'ABS_RZ': 0.}
    self.max_axis_value = {'ABS_Y': 1023., 'ABS_RZ': 255.}
import time
  #!/usr/bin/env python
  import os
import time
  import argparse
  from inputs import get_gamepad
  
  import cereal.messaging as messaging
  from common.numpy_fast import interp, clip
  from common.params import Params
keep add keep keep keep keep keep keep
 joystickd: add WEB support, add logitech joystick support 
tools/joystick/joystickd.py