(self, axis_num, value=None, min=None, max=None, fuzz=None, flat=None, resolution=None)
Update :class:`AbsInfo` values. Only specified values will be overwritten.

        Arguments
        ---------
        axis_num : int
          EV_ABS keycode (example :attr:`ecodes.ABS_X`)

        Example
        -------
        >>> device.set_absinfo(ecodes.ABS_X, min=-2000, max=2000)

        You can also unpack AbsInfo tuple that will overwrite all values

        >>> device.set_absinfo(ecodes.ABS_Y, *AbsInfo(0, -2000, 2000, 0, 15, 0))
Update :class:`AbsInfo` values. Only specified values will be overwritten.
Update : class : AbsInfo values . Only specified values will be overwritten .
def set_absinfo(self, axis_num, value=None, min=None, max=None, fuzz=None, flat=None, resolution=None):
        '''
        Update :class:`AbsInfo` values. Only specified values will be overwritten.

        Arguments
        ---------
        axis_num : int
          EV_ABS keycode (example :attr:`ecodes.ABS_X`)

        Example
        -------
        >>> device.set_absinfo(ecodes.ABS_X, min=-2000, max=2000)

        You can also unpack AbsInfo tuple that will overwrite all values

        >>> device.set_absinfo(ecodes.ABS_Y, *AbsInfo(0, -2000, 2000, 0, 15, 0))
        '''

        cur_absinfo = self.absinfo(axis_num)
        new_absinfo = AbsInfo(value if value is not None else cur_absinfo.value,
                              min if min is not None else cur_absinfo.min,
                              max if max is not None else cur_absinfo.max,
                              fuzz if fuzz is not None else cur_absinfo.fuzz,
                              flat if flat is not None else cur_absinfo.flat,
                              resolution if resolution is not None else cur_absinfo.resolution)
        _input.ioctl_EVIOCSABS(self.fd, axis_num, new_absinfo)
def set_absinfo ( self , axis_num , value = None , min = None , max = None , fuzz = None , flat = None , resolution = None ) : cur_absinfo = self . absinfo ( axis_num ) new_absinfo = AbsInfo ( value if value is not None else cur_absinfo . value , min if min is not None else cur_absinfo . min , max if max is not None else cur_absinfo . max , fuzz if fuzz is not None else cur_absinfo . fuzz , flat if flat is not None else cur_absinfo . flat , resolution if resolution is not None else cur_absinfo . resolution ) _input . ioctl_EVIOCSABS ( self . fd , axis_num , new_absinfo )