Lines Matching full:none
20 def __init__(self, hid, evdev=None):
23 if evdev is None:
59 def __init__(self, rdesc, application="Game Pad", name=None, input_info=None):
60 assert rdesc is not None
67 assert self.parsed_rdesc is not None
83 left=(None, None), argument
84 right=(None, None),
85 hat_switch=None,
86 buttons=None,
87 reportID=None,
94 where ``None`` is "leave unchanged"
96 where ``None`` is "leave unchanged"
99 where ``None`` is "leave unchanged"
101 where ``None`` is "leave unchanged"
105 if buttons is not None:
111 if b is not None:
115 if item is None:
116 item = (None, None)
118 if None in item:
119 if item[0] is None:
121 if item[1] is None:
131 if hat_switch is None:
140 gamepad.__setattr__(f"b{i}", int(b) if b is not None else 0)
150 self, *, left=(None, None), right=(None, None), hat_switch=None, buttons=None argument
156 where ``None`` is "leave unchanged"
158 where ``None`` is "leave unchanged"
160 where ``None`` is "leave unchanged"
162 where ``None`` is "leave unchanged"
199 def __init__(self, rdesc, application="Joystick", name=None, input_info=None):
205 left=(None, None), argument
206 right=(None, None),
207 hat_switch=None,
208 buttons=None,
209 reportID=None,
210 application=None,
216 where ``None`` is "leave unchanged"
218 where ``None`` is "leave unchanged"
220 where ``None`` is "leave unchanged"
222 where ``None`` is "leave unchanged"
226 if application is None: