Skip to content

Commit

Permalink
Merge pull request #1728 from pqrs-org/personal_tekezo
Browse files Browse the repository at this point in the history
Update personal_tekezo, mouse_keys_mode_v4 (Update extra_descriptions)
  • Loading branch information
tekezo authored Oct 11, 2024
2 parents 71eec31 + 5292da7 commit debbb95
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 60 deletions.
68 changes: 24 additions & 44 deletions public/extra_descriptions/mouse_keys_mode_v4.json.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
<link rel="stylesheet" href="../../vendor/css/bootstrap.min.css" />

<style>
.mouse-keys-mode-v4 span.key {
color: #c7254e;
background-color: #f9f2f4;
font-weight: bold;
padding: 0px 5px;
}
</style>

<div class="mouse-keys-mode-v4">
<p style="margin-top: 20px; font-weight: bold">Mouse keys Mode v4</p>

Expand All @@ -18,48 +9,37 @@
</p>

<ol>
<li><span class="key">d</span> key_down</li>
<li>
any keys of mouse keys key_down (<span class="key">h</span>,
<span class="key">j</span>, <span class="key">k</span>,
<span class="key">l</span>,...)
</li>
<li>
any keys of mouse keys key_up (<span class="key">h</span>,
<span class="key">j</span>, <span class="key">k</span>,
<span class="key">l</span>,...)
</li>
<li>
Then mouse keys is active until you release
<span class="key">d</span> key.
</li>
<li><kbd>d</kbd> key_down</li>
<li>any keys of mouse keys key_down (<kbd>h, j, k, l, ...</kbd>)</li>
<li>any keys of mouse keys key_up (<kbd>h, j, k, l, ...</kbd>)</li>
<li>Then mouse keys is active until you release <kbd>d</kbd> key.</li>
</ol>

<b>Example:</b>
<ul>
<li>Press <span class="key">d</span></li>
<li>Press <span class="key">h</span></li>
<li>Press <span class="key">j</span></li>
<li>Release <span class="key">h</span></li>
<li>Release <span class="key">j</span></li>
<li>Release <span class="key">d</span></li>
<li>Press <kbd>d</kbd></li>
<li>Press <kbd>h</kbd></li>
<li>Press <kbd>j</kbd></li>
<li>Release <kbd>h</kbd></li>
<li>Release <kbd>j</kbd></li>
<li>Release <kbd>d</kbd></li>
</ul>

<b>Key bindings:</b>
<ul>
<li>h: mouse left</li>
<li>j: mouse down</li>
<li>k: mouse up</li>
<li>l: mouse right</li>
<li>v: left click</li>
<li>b: middle click</li>
<li>n: right click</li>
<li>f: fast mode (fast mouse move by f+hjkl)</li>
<li>g: slow mode (slow mouse move by g+hjkl)</li>
<li>s: scroll mode (scroll by s+hjkl)</li>
<li>u: set mouse cursor position to the center of current display</li>
<li>i: set mouse cursor position to the center of main display</li>
<li>o: set mouse cursor position to the center of second display</li>
<li>p: set mouse cursor position to the center of third display</li>
<li><kbd>h</kbd>: mouse left</li>
<li><kbd>j</kbd>: mouse down</li>
<li><kbd>k</kbd>: mouse up</li>
<li><kbd>l</kbd>: mouse right</li>
<li><kbd>v</kbd>: left click</li>
<li><kbd>b</kbd>: middle click</li>
<li><kbd>n</kbd>: right click</li>
<li><kbd>f</kbd>: fast mode (fast mouse move by f+hjkl)</li>
<li><kbd>g</kbd>: slow mode (slow mouse move by g+hjkl)</li>
<li><kbd>s</kbd>: scroll mode (scroll by s+hjkl)</li>
<li><kbd>u</kbd>: set mouse cursor position to the center of current display</li>
<li><kbd>i</kbd>: set mouse cursor position to the center of main display</li>
<li><kbd>o</kbd>: set mouse cursor position to the center of second display</li>
<li><kbd>p</kbd>: set mouse cursor position to the center of third display</li>
</ul>
</div>
35 changes: 20 additions & 15 deletions public/extra_descriptions/personal_tekezo.json.html
Original file line number Diff line number Diff line change
@@ -1,31 +1,36 @@
<link rel="stylesheet" href="../../vendor/css/bootstrap.min.css" />

<ul>
<li>Change left_control to lazy left_control (Post spacebar when pressed alone)</li>
<li>Post spacebar when left_shift is pressed alone</li>
<li>Copy Unix time when fn is pressed alone</li>
<li>Change <kbd>left_control</kbd> to <kbd>lazy left_control</kbd> (Post <kbd>spacebar</kbd> when pressed alone)</li>
<ul>
<li>Change <kbd>left_shift + left_control</kbd> to <kbd>left_command + `</kbd> when <kbd>left_control</kbd> is tapped</li>
<li>Change <kbd>left_command + left_control</kbd> to <kbd>left_command + `</kbd> when <kbd>left_control</kbd> is tapped</li>
</ul>
<li>Post <kbd>spacebar</kbd> when <kbd>left_shift</kbd> is pressed alone</li>
<li>Change input sources by <kbd>left_option + left_command</kbd> and <kbd>left_command + left_option</kbd></li>
<li>Launch 1Password when <kbd>fn</kbd> is pressed alone</li>
</ul>

<ul>
<li>Change command+control+f to command+shift+[</li>
<li>Change command+control+j to command+shift+]</li>
<li>Change command+control+g to command+[</li>
<li>Change command+control+h to command+]</li>
<li>Change <kbd>command + control + f</kbd> to <kbd>command + shift + [</kbd></li>
<li>Change <kbd>command + control + j</kbd> to <kbd>command + shift + ]</kbd></li>
<li>Change <kbd>command + control + g</kbd> to <kbd>command + [</kbd></li>
<li>Change <kbd>command + control + h</kbd> to <kbd>command + ]</kbd></li>
</ul>

<ul>
<li>Change ;+j to mouse button #1</li>
<li>Change ;+k to mouse button #3</li>
<li>Change ;+l to mouse button #2</li>
<li>Change ;+i to warp mouse pointer to the center of screen</li>
<li>Change <kbd>; + j</kbd> to <kbd>mouse button #1</kbd></li>
<li>Change <kbd>; + k</kbd> to <kbd>mouse button #3</kbd></li>
<li>Change <kbd>; + l</kbd> to <kbd>mouse button #2</kbd></li>
<li>Change <kbd>; + i</kbd> to warp mouse pointer to the center of screen</li>
</ul>

<ul>
<li>Change button5 + mouse motion to scroll wheel (Post command+click if button5 is clicked alone)</li>
<li>Change button6 to command+click</li>
<li>Change <kbd>button5</kbd> + mouse motion to scroll wheel (Post <kbd>command+click</kbd> if <kbd>button5</kbd> is clicked alone)</li>
<li>Change <kbd>button6</kbd> to <kbd>command+click</kbd></li>
</ul>

<ul>
<li>Change option+- to ----------</li>
<li>Change option+= to ==========</li>
<li>Change <kbd>option + -</kbd> to ----------</li>
<li>Change <kbd>option + =</kbd> to ==========</li>
</ul>
2 changes: 1 addition & 1 deletion src/json/personal_tekezo.json.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function coreConfiguration() {
// fn
//

// Copy Unix time when fn is pressed alone
// Launch 1Password when fn is pressed alone
{
type: 'basic',
from: {
Expand Down

0 comments on commit debbb95

Please sign in to comment.