Skip to content

Commit

Permalink
Merge pull request #884 from Dygmalab/fixDefaultValuesTipPreferences
Browse files Browse the repository at this point in the history
fix: default values where missing form the keyboard tab in preferences
  • Loading branch information
alexpargon authored Sep 19, 2024
2 parents 23b66d9 + 105315b commit e3997fd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
21 changes: 11 additions & 10 deletions src/renderer/i18n/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -636,35 +636,35 @@ const English = {
"High values let you press the next key before releasing the Dual-Function key without triggering the hold function.",
overlapThresholdTip3:
"Low values will mean that you’ll trigger the hold function whenever pressing a key without having totally released a Dual-Function key.",
overlapThresholdTip4:
"If you change it to Less, you will nearly always affect the subsequent pressed key with the dual function as it will be counting as double pressing instead of chording.",
overlapThresholdTipDefault: "Default value: 80",
overlapThresholdsub: " - Percentage from 0 to 100",
holdTimeoutTip1: "This setting determines the amount of time it takes for the “hold” function to activate.",
holdTimeoutTip2: "With a high value, it’ll take more time to activate the hold function.",
holdTimeoutTip3: "With a low value, you might trigger the hold function if you linger on the key too much while typing.",
holdTimeoutTip4: "If the slider is at 'High', it'll take a bit more time for the hold function to activate.",
holdTimeoutTipDefault: "Default value: 250",
minHold: "Dual-Function Keys - Minimum Hold time",
minHoldsub: " - From 0 to 254 milliseconds",
minHoldTip1: "Set the minimum length of time a qukey must be held before it can resolve to its alternate key value",
minHoldTip2:
"If a qukey is pressed and released in less than this number of milliseconds, it will always produce its primary key value",
minHoldTipDefault: "",
minPrior: "Dual-Function Keys - Minimum Prior Interval",
minPriorsub: " - From 0 to 254 milliseconds",
minPriorTip1: "Set the minimum interval between the previous keypress and the qukey press",
minPriorTip2: "to make the qukey eligible to become its alternate keycode",
minPriorTipDefault: "",
},
superkeys: {
title: "Typing",
timeout: "Superkeys - Next tap timeout",
timeoutTip1: "This setting determines how much a Superkey waits for the next tap.",
timeoutTip2: "With a low value, you need to be fast pressing the next tap, or the Superkey will output the previous tap.",
timeoutTip3: "With a high value, it will take more time for the Superkey to output the second tap.",
timeoutTip4:
"If you choose a fast typing speed, you might activate those actions by mistake if you 'linger' too much on the key.",
timeoutTipDefault: "Default value: 250",
chordingTip1: "This setting determines the amount of time it takes for the “hold” function to activate.",
chordingTip2: "With a high value, it’ll take more time to activate the hold function.",
chordingTip3: "With a low value, you might trigger the hold function if you linger on the key too much while typing.",
chordingTip4: "If the slider is at 'High', it'll take a bit more time for the hold function to activate.",
chordingTipDefault: "Default value: 200",
repeat:
"Adjust repeat time interval between the emission of held keys after waitfor period. (this doesn't affect all keys)",
repeatsub: " - time from 0 to 254 milliseconds",
Expand All @@ -676,23 +676,24 @@ const English = {
overlapTip1: "This setting determines the overlap between the current and the next key press when using superkeys.",
overlapTip2: "With a low value, you will be able to chord better as it will not overlap the key presses.",
overlapTip3: "With a high value, the overlap is more responsive so it detects the superkey as being intercepted easier.",
overlapTipDefault: "Default value: 20",
},
mouse: {
title: "Mouse keys",
subtitle1: "MOUSE SPEED",
speed: "Cursor speed",
speed: "Cursor speed - Default: 20",
speedsub: " - From 0 to 254 pixels",
speedDelay: "Delay between steps (the higher the number, the slower the mouse movement)",
speedDelaysub: " - From 0 to 65,534 milliseconds",
speedLimit: "Maximum cursor speed",
speedLimit: "Maximum cursor speed - Default: 127",
speedLimitsub: " - From 0 to 254 pixels",
subtitle2: "MOUSE ACCELERATION",
accelSpeed: "Cursor acceleration",
accelSpeed: "Cursor acceleration - Default: 20",
accelSpeedsub: " - From 0 to 254 pixels",
accelDelay: "Acceleration delay between steps (the higher the number, the slower the mouse movement)",
accelDelaysub: " - From 0 to 65,534 milliseconds",
subtitle3: "WHEEL SPEED",
wheelSpeed: "Wheel speed",
wheelSpeed: "Wheel speed - Default: 2",
wheelSpeedsub: " - From 0 to 254 pixels",
wheelDelay: "Wheel delay between steps (the higher the number, the slower the mouse movement)",
wheelDelaysub: " - From 0 to 65,534 milliseconds",
Expand Down
7 changes: 7 additions & 0 deletions src/renderer/modules/Settings/KeyboardSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ function KeyboardSettings(props: KeyboardSettingsProps) {
<ul>
<li className="text-left">{i18n.keyboardSettings.qukeys.overlapThresholdTip2}</li>
<li className="text-left">{i18n.keyboardSettings.qukeys.overlapThresholdTip3}</li>
<li className="text-left">{i18n.keyboardSettings.qukeys.overlapThresholdTipDefault}</li>
</ul>
</TooltipContent>
</Tooltip>
Expand Down Expand Up @@ -391,6 +392,7 @@ function KeyboardSettings(props: KeyboardSettingsProps) {
<ul>
<li className="text-left">{i18n.keyboardSettings.qukeys.holdTimeoutTip2}</li>
<li className="text-left">{i18n.keyboardSettings.qukeys.holdTimeoutTip3}</li>
<li className="text-left">{i18n.keyboardSettings.qukeys.holdTimeoutTipDefault}</li>
</ul>
</TooltipContent>
</Tooltip>
Expand Down Expand Up @@ -428,6 +430,7 @@ function KeyboardSettings(props: KeyboardSettingsProps) {
</Heading>
<ul>
<li className="text-left">{i18n.keyboardSettings.qukeys.minHoldTip2}</li>
<li className="text-left">{i18n.keyboardSettings.qukeys.minHoldTipDefault}</li>
</ul>
</TooltipContent>
</Tooltip>
Expand Down Expand Up @@ -465,6 +468,7 @@ function KeyboardSettings(props: KeyboardSettingsProps) {
</Heading>
<ul>
<li className="text-left">{i18n.keyboardSettings.qukeys.minPriorTip2}</li>
<li className="text-left">{i18n.keyboardSettings.qukeys.minPriorTipDefault}</li>
</ul>
</TooltipContent>
</Tooltip>
Expand Down Expand Up @@ -503,6 +507,7 @@ function KeyboardSettings(props: KeyboardSettingsProps) {
<ul>
<li className="text-left">{i18n.keyboardSettings.superkeys.overlapTip2}</li>
<li className="text-left">{i18n.keyboardSettings.superkeys.overlapTip3}</li>
<li className="text-left">{i18n.keyboardSettings.superkeys.overlapTipDefault}</li>
</ul>
</TooltipContent>
</Tooltip>
Expand Down Expand Up @@ -541,6 +546,7 @@ function KeyboardSettings(props: KeyboardSettingsProps) {
<ul>
<li className="text-left">{i18n.keyboardSettings.superkeys.timeoutTip2}</li>
<li className="text-left">{i18n.keyboardSettings.superkeys.timeoutTip3}</li>
<li className="text-left">{i18n.keyboardSettings.superkeys.timeoutTipDefault}</li>
</ul>
</TooltipContent>
</Tooltip>
Expand Down Expand Up @@ -579,6 +585,7 @@ function KeyboardSettings(props: KeyboardSettingsProps) {
<ul>
<li className="text-left">{i18n.keyboardSettings.superkeys.chordingTip2}</li>
<li className="text-left">{i18n.keyboardSettings.superkeys.chordingTip3}</li>
<li className="text-left">{i18n.keyboardSettings.superkeys.chordingTipDefault}</li>
</ul>
</TooltipContent>
</Tooltip>
Expand Down

0 comments on commit e3997fd

Please sign in to comment.