misc: Fix typos
This commit is contained in:
parent
fc8a5577a3
commit
15b92a0f40
|
@ -9,7 +9,7 @@
|
||||||
* Remove obsolete upower signals.
|
* Remove obsolete upower signals.
|
||||||
* Appinfo/metadata fixes including using correct APP_ID.
|
* Appinfo/metadata fixes including using correct APP_ID.
|
||||||
* Fix bugs in solaar config.
|
* Fix bugs in solaar config.
|
||||||
* Add full set of mouse buttons in persistent remappable actions seeting.
|
* Add full set of mouse buttons in persistent remappable actions setting.
|
||||||
* Improve rule behaviour under Wayland and when Xtest or X11 not available.
|
* Improve rule behaviour under Wayland and when Xtest or X11 not available.
|
||||||
* Fix up and document dependencies (evdev, Python, ...).
|
* Fix up and document dependencies (evdev, Python, ...).
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
* Broaden range of HID++ Bluetooth devices
|
* Broaden range of HID++ Bluetooth devices
|
||||||
* Add setting to divert gestures
|
* Add setting to divert gestures
|
||||||
* Rule editor can edit all rule components
|
* Rule editor can edit all rule components
|
||||||
* Configuation via solaar config takes effect in Solaar UI if it is running
|
* Configuration via solaar config takes effect in Solaar UI if it is running
|
||||||
* Add setting to disable Onboard Profiles and decouple from Polling Rate setting
|
* Add setting to disable Onboard Profiles and decouple from Polling Rate setting
|
||||||
* Add setting for PERSISTENT_REMAPPABLE_ACTION, common keyboard and mouse cases only
|
* Add setting for PERSISTENT_REMAPPABLE_ACTION, common keyboard and mouse cases only
|
||||||
* Split Test rule condition into Test and TestBytes and support in rule editor
|
* Split Test rule condition into Test and TestBytes and support in rule editor
|
||||||
|
|
|
@ -154,7 +154,7 @@ A setting implementation for a feature (for modern devices that use the HID++ 2.
|
||||||
needs a feature identifier.
|
needs a feature identifier.
|
||||||
A setting implementation needs a reader/writer and a validator.
|
A setting implementation needs a reader/writer and a validator.
|
||||||
|
|
||||||
The reader/writer is resposible for actually writing settings to the device
|
The reader/writer is responsible for actually writing settings to the device
|
||||||
and reading them from the device, writing and reading the byte strings that
|
and reading them from the device, writing and reading the byte strings that
|
||||||
represent the setting values on the device.
|
represent the setting values on the device.
|
||||||
For most feature settings the setting implementation can just inherit
|
For most feature settings the setting implementation can just inherit
|
||||||
|
@ -162,7 +162,7 @@ the standard feature reader/writer, `FeatureRW`.
|
||||||
|
|
||||||
Options for `FeatureRW` are supplied by the `rw_options` class variable,
|
Options for `FeatureRW` are supplied by the `rw_options` class variable,
|
||||||
which is used to provide command numbers for reading and writing as well
|
which is used to provide command numbers for reading and writing as well
|
||||||
as other information needed to identify the parts of the command and reponse
|
as other information needed to identify the parts of the command and response
|
||||||
that hold the setting value and modify the reading and writing procedure.
|
that hold the setting value and modify the reading and writing procedure.
|
||||||
`PointerSpeed` uses the defaults; here is an example of specifying non-default commands
|
`PointerSpeed` uses the defaults; here is an example of specifying non-default commands
|
||||||
for reading and writing:
|
for reading and writing:
|
||||||
|
|
|
@ -68,7 +68,7 @@ evaluating each of their components in order.
|
||||||
An Or condition is terminated early if a component evaluates to true or the
|
An Or condition is terminated early if a component evaluates to true or the
|
||||||
last evaluated sub-component of a component is an action.
|
last evaluated sub-component of a component is an action.
|
||||||
A Or condition is true if its last evaluated component evaluates to a true
|
A Or condition is true if its last evaluated component evaluates to a true
|
||||||
value. `And` conditions take a sequence of components are evaluted the same
|
value. `And` conditions take a sequence of components are evaluated the same
|
||||||
as rules.
|
as rules.
|
||||||
|
|
||||||
`Feature` conditions are if true if the name of the feature of the current
|
`Feature` conditions are if true if the name of the feature of the current
|
||||||
|
@ -195,7 +195,7 @@ Here is a file with six rules:
|
||||||
---
|
---
|
||||||
- Key: [M2, pressed]
|
- Key: [M2, pressed]
|
||||||
- Set: [198E3EB8, dpi, 3000]
|
- Set: [198E3EB8, dpi, 3000]
|
||||||
- Execute: [notify-send, Incresed mouse speed]
|
- Execute: [notify-send, Increased mouse speed]
|
||||||
...
|
...
|
||||||
---
|
---
|
||||||
- Key: [Host Switch Channel 2, pressed]
|
- Key: [Host Switch Channel 2, pressed]
|
||||||
|
|
|
@ -90,7 +90,7 @@ moving sliders, or selecting from alternatives.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Device setings now have a clickable icon that determines whether the
|
Device settings now have a clickable icon that determines whether the
|
||||||
setting can be changed and whether the setting is ignored.
|
setting can be changed and whether the setting is ignored.
|
||||||
|
|
||||||

|

|
||||||
|
|
|
@ -100,7 +100,7 @@ except Exception:
|
||||||
|
|
||||||
xtest_available = True # Xtest might be available
|
xtest_available = True # Xtest might be available
|
||||||
xdisplay = None
|
xdisplay = None
|
||||||
Xkbdisplay = None # xkb might be avilable
|
Xkbdisplay = None # xkb might be available
|
||||||
modifier_keycodes = []
|
modifier_keycodes = []
|
||||||
XkbUseCoreKbd = 0x100
|
XkbUseCoreKbd = 0x100
|
||||||
|
|
||||||
|
|
|
@ -44,8 +44,8 @@ DEVICE_KIND = _NamedInts(
|
||||||
trackball=0x08,
|
trackball=0x08,
|
||||||
touchpad=0x09,
|
touchpad=0x09,
|
||||||
headset=0x0D, # not from Logitech documentation
|
headset=0x0D, # not from Logitech documentation
|
||||||
remote_control=0x0E, # for compatability with HID++ 2.0
|
remote_control=0x0E, # for compatibility with HID++ 2.0
|
||||||
receiver=0x0F # for compatability with HID++ 2.0
|
receiver=0x0F # for compatibility with HID++ 2.0
|
||||||
)
|
)
|
||||||
|
|
||||||
POWER_SWITCH_LOCATION = _NamedInts(
|
POWER_SWITCH_LOCATION = _NamedInts(
|
||||||
|
|
|
@ -475,7 +475,7 @@ class ReprogrammableKeyV4(ReprogrammableKey):
|
||||||
self._setCidReporting(flags=flags)
|
self._setCidReporting(flags=flags)
|
||||||
|
|
||||||
def set_rawXY_reporting(self, value: bool):
|
def set_rawXY_reporting(self, value: bool):
|
||||||
"""If set, the mouse temporarilty reports all its raw XY events while this control is pressed as HID++ events."""
|
"""If set, the mouse temporarily reports all its raw XY events while this control is pressed as HID++ events."""
|
||||||
flags = {special_keys.MAPPING_FLAG.raw_XY_diverted: value}
|
flags = {special_keys.MAPPING_FLAG.raw_XY_diverted: value}
|
||||||
self._setCidReporting(flags=flags)
|
self._setCidReporting(flags=flags)
|
||||||
|
|
||||||
|
|
|
@ -810,7 +810,7 @@ class BitFieldWithOffsetAndMaskValidator(Validator):
|
||||||
# each element of options is an instance of a class
|
# each element of options is an instance of a class
|
||||||
# that has an id (which is used as an index in other dictionaries)
|
# that has an id (which is used as an index in other dictionaries)
|
||||||
# and where om_method is a method that returns a byte offset and byte mask
|
# and where om_method is a method that returns a byte offset and byte mask
|
||||||
# that says how to access and modify the bit toogle for the option
|
# that says how to access and modify the bit toggle for the option
|
||||||
self.options = options
|
self.options = options
|
||||||
self.om_method = om_method
|
self.om_method = om_method
|
||||||
# to retrieve the options efficiently:
|
# to retrieve the options efficiently:
|
||||||
|
@ -1203,7 +1203,7 @@ class MultipleRangeValidator(Validator):
|
||||||
return None
|
return None
|
||||||
return [int(item), {**args[1]}]
|
return [int(item), {**args[1]}]
|
||||||
|
|
||||||
def commpare(self, args, current):
|
def compare(self, args, current):
|
||||||
_log.warn('compare not implemented for multiple range settings')
|
_log.warn('compare not implemented for multiple range settings')
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
|
@ -166,7 +166,7 @@ class RegisterSideScroll(_Setting):
|
||||||
validator_options = {'true_value': 0x02, 'mask': 0x02}
|
validator_options = {'true_value': 0x02, 'mask': 0x02}
|
||||||
|
|
||||||
|
|
||||||
# different devices have different sets of permissable dpis, so this should be subclassed
|
# different devices have different sets of permissible dpis, so this should be subclassed
|
||||||
class RegisterDpi(_Setting):
|
class RegisterDpi(_Setting):
|
||||||
name = 'dpi-old'
|
name = 'dpi-old'
|
||||||
label = _('Sensitivity (DPI - older mice)')
|
label = _('Sensitivity (DPI - older mice)')
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
# Reprogrammable keys information
|
# Reprogrammable keys information
|
||||||
# Mostly from Logitech documentation, but with some edits for better Lunix compatability
|
# Mostly from Logitech documentation, but with some edits for better Lunix compatibility
|
||||||
|
|
||||||
from .common import NamedInts as _NamedInts
|
from .common import NamedInts as _NamedInts
|
||||||
from .common import UnsortedNamedInts as _UnsortedNamedInts
|
from .common import UnsortedNamedInts as _UnsortedNamedInts
|
||||||
|
|
|
@ -89,9 +89,9 @@ echo
|
||||||
grep '^# '"$version" ChangeLog.md >/dev/null
|
grep '^# '"$version" ChangeLog.md >/dev/null
|
||||||
[ $? -ne 0 ] && echo 'Error: Version is not present in the changelog' && exit 1
|
[ $? -ne 0 ] && echo 'Error: Version is not present in the changelog' && exit 1
|
||||||
|
|
||||||
# Check for uncomitted changes
|
# Check for uncommitted changes
|
||||||
git diff --quiet HEAD >/dev/null
|
git diff --quiet HEAD >/dev/null
|
||||||
[ $? -ne 0 ] && echo -e '\nError: Uncomitted changes found' && exit 1
|
[ $? -ne 0 ] && echo -e '\nError: Uncommitted changes found' && exit 1
|
||||||
|
|
||||||
# Check if commit is a version bump
|
# Check if commit is a version bump
|
||||||
git show -s --format=%B HEAD | grep "^release $version">/dev/null
|
git show -s --format=%B HEAD | grep "^release $version">/dev/null
|
||||||
|
|
Loading…
Reference in New Issue