Skip to content

Commit

Permalink
defaults match api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Mar 29, 2020
1 parent 6545b63 commit e4c1efc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion circuitpython_cirque_pinnacle/glidepoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion circuitpython_cirque_pinnacle/glidepoint_lite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit e4c1efc

Please sign in to comment.