Skip to content

Commit

Permalink
Merge pull request #158 from ali1234/fixes
Browse files Browse the repository at this point in the history
Fixes Sensei TEN default config and some typos
  • Loading branch information
flozz authored Jan 7, 2021
2 parents abe4356 + 648142b commit 7829deb
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions rivalcfg/devices/sensei310.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"settings": {

"sensitivity1": {
"label": "Sensibility preset 1",
"label": "Sensitivity preset 1",
"description": "Set sensitivity preset 1 (DPI)",
"cli": ["-s", "--sensitivity1"],
"report_type": usbhid.HID_REPORT_TYPE_OUTPUT,
Expand All @@ -41,7 +41,7 @@
},

"sensitivity2": {
"label": "Sensibility preset 2",
"label": "Sensitivity preset 2",
"description": "Set sensitivity preset 2 (DPI)",
"cli": ["-S", "--sensitivity2"],
"report_type": usbhid.HID_REPORT_TYPE_OUTPUT,
Expand Down
2 changes: 1 addition & 1 deletion rivalcfg/devices/sensei_raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},

"sensitivity2": {
"label": "Sensibility preset 2",
"label": "Sensitivity preset 2",
"description": "Set sensitivity preset 2 (DPI)",
"cli": ["-S", "--sensitivity2"],
"report_type": usbhid.HID_REPORT_TYPE_OUTPUT,
Expand Down
6 changes: 3 additions & 3 deletions rivalcfg/devices/sensei_ten.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"color_count_offset": 25, # Offset of the "color_count" field
}

_DEFAULT_RGBGRADIENT = "rgbgradient(duration=1000; colors=0%: #ff0000, 33%: #00ff00, 66%: #0000ff)" # noqa
_DEFAULT_RGBGRADIENT = "rgbgradient(duration=10000; colors=0%: #ff0000, 33%: #00ff00, 66%: #0000ff)" # noqa


profile = {
Expand All @@ -33,7 +33,7 @@
"settings": {

"sensitivity": {
"label": "Sensibility presets",
"label": "Sensitivity presets",
"description": "Set sensitivity preset (DPI)",
"cli": ["-s", "--sensitivity"],
"report_type": usbhid.HID_REPORT_TYPE_OUTPUT,
Expand All @@ -44,7 +44,7 @@
"dpi_length_byte": 2,
"count_mode": "flag",
"max_preset_count": 5,
"default": "800, 1600",
"default": "400, 800, 1200, 2400, 3200",
},

"polling_rate": {
Expand Down
2 changes: 1 addition & 1 deletion rivalcfg/handlers/multidpi_range.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"settings": {
"sensitivity1": {
"label": "Sensibility presets",
"label": "Sensitivity presets",
"description": "Set sensitivity presets (DPI)",
"cli": ["-s", "--sensitivity"],
"report_type": usbhid.HID_REPORT_TYPE_OUTPUT,
Expand Down
2 changes: 1 addition & 1 deletion rivalcfg/handlers/range.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"settings": {
"sensitivity1": {
"label": "Sensibility preset 1",
"label": "Sensitivity preset 1",
"description": "Set sensitivity preset 1 (DPI)",
"cli": ["-s", "--sensitivity1"],
"report_type": usbhid.HID_REPORT_TYPE_OUTPUT,
Expand Down

0 comments on commit 7829deb

Please sign in to comment.