D | base_gamepad.py | 1 # SPDX-License-Identifier: GPL-2.0 59 def __init__(self, rdesc, application="Game Pad", name=None, input_info=None): argument 61 super().__init__(name, application, input_info=input_info, rdesc=rdesc) 70 for r in self.parsed_rdesc.input_reports.values(): 71 if r.application_name == self.application: 72 self.fields.extend([f.usage_name for f in r]) 88 application="Game Pad", argument 98 (expressed in 1/8 of circle, 0 being North, 2 East) 103 :param application: the application used to report the values 106 for i, b in buttons.items(): [all …]
|