diff --git a/circuitpython_cirque_pinnacle/glidepoint.py b/circuitpython_cirque_pinnacle/glidepoint.py index 3b3cd2c..7337965 100644 --- a/circuitpython_cirque_pinnacle/glidepoint.py +++ b/circuitpython_cirque_pinnacle/glidepoint.py @@ -99,7 +99,7 @@ def hard_configured(self): customized hardware configuration.""" return bool(self._rap_read(0x1f)) - def relative_mode_config(self, rotate90=False, taps=False, secondary_tap=True, + def relative_mode_config(self, rotate90=False, taps=True, secondary_tap=True, glide_extend=True, intellimouse=False): """Configure settings specific to Relative mode (AKA Mouse mode) data reporting.""" if self.data_mode == RELATIVE: diff --git a/circuitpython_cirque_pinnacle/glidepoint_lite.py b/circuitpython_cirque_pinnacle/glidepoint_lite.py index ec1406f..68f99a1 100644 --- a/circuitpython_cirque_pinnacle/glidepoint_lite.py +++ b/circuitpython_cirque_pinnacle/glidepoint_lite.py @@ -50,7 +50,7 @@ def data_mode(self, mode): def hard_configured(self): return bool(self._rap_read(0x1f)) - def relative_mode_config(self, rotate90=False, taps=False, secondary_tap=True, + def relative_mode_config(self, rotate90=False, taps=True, secondary_tap=True, glide_extend=True, intellimouse=False): config2 = rotate90 << 7 | (not glide_extend) << 4 | ( not secondary_tap) << 2 | (not taps) << 1 | intellimouse diff --git a/docs/api.rst b/docs/api.rst index c5d4615..f636b0f 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -224,8 +224,7 @@ relative_mode_config() :param bool rotate90: Specifies if the axis data is altered for 90 degree rotation before reporting it (essentially swaps the axis data). Default is `False`. :param bool taps: Specifies if all taps should be reported (`True`) or not - (`False`). Default is `True`. This affects ``secondary_tap`` option as well. The - primary button (left mouse button) is emulated with a tap. + (`False`). Default is `True`. This affects ``secondary_tap`` option as well. :param bool secondary_tap: Specifies if tapping in the top-left corner (depending on orientation) triggers the secondary button data. Defaults to `True`. This feature is only available if `hard_configured` is `False`.