diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-31 23:44:07 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-31 23:44:29 -0600 |
commit | 11428217df49ccb608d69179e398231b773662d7 (patch) | |
tree | c9e07b24732de3b9edea031a2c216c06f0447865 | |
parent | 1847115052daa5460de5c87e9e95ed3e9d60831c (diff) | |
parent | 3a7fdfd40842b0c6b3b156375016d49f73a38ca1 (diff) |
make: Add footpedal.md
-rw-r--r-- | public/arch-systemd.html | 4 | ||||
-rw-r--r-- | public/assets/style.css | 22 | ||||
-rw-r--r-- | public/footpedal.html | 110 | ||||
-rw-r--r-- | public/footpedal.md | 92 | ||||
-rw-r--r-- | public/index.atom | 104 | ||||
-rw-r--r-- | public/index.html | 2 | ||||
-rw-r--r-- | public/index.md | 1 |
7 files changed, 323 insertions, 12 deletions
diff --git a/public/arch-systemd.html b/public/arch-systemd.html index 8c5b705..c61d2ff 100644 --- a/public/arch-systemd.html +++ b/public/arch-systemd.html @@ -40,7 +40,7 @@ basically the only thing in rc.conf will be <code>DAEMONS</code>.<a href="#fn2" class="footnote-ref" id="fnref2" role="doc-noteref"><sup>2</sup></a> For now there is compatibility for the variables that used to be there, but that is going away.</p> -<aside id="footnotes" class="footnotes footnotes-end-of-document" +<section id="footnotes" class="footnotes footnotes-end-of-document" role="doc-endnotes"> <hr /> <ol> @@ -68,7 +68,7 @@ role="doc-backlink">↩︎</a></p></li> <code>netmask</code>, and <code>gateway</code>. But those are minor.<a href="#fnref2" class="footnote-back" role="doc-backlink">↩︎</a></p></li> </ol> -</aside> +</section> </article> <footer> diff --git a/public/assets/style.css b/public/assets/style.css index 1033f57..b5bb343 100644 --- a/public/assets/style.css +++ b/public/assets/style.css @@ -9,13 +9,6 @@ body { font-family: sans-serif; } -blockquote { - border-left: solid .2em #DDDDFF; - margin-left: 1.5em; - padding-left: 0.3em; - font-style: italic; -} - footer { text-align: center; font-size: 70%; @@ -26,6 +19,21 @@ footer { li > p:first-child { margin-top: 0; } li p + ul { margin-top: -1em; } +/* blockquote elements */ + +blockquote { + border-left: solid .2em #DDDDFF; + margin-left: 1.5em; + padding-left: 0.3em; + font-style: italic; +} +blockquote cite { + font-style: normal; +} +blockquote cite::before { + content: "-- "; +} + /* code elements */ kbd, code, samp, tt, pre { diff --git a/public/footpedal.html b/public/footpedal.html new file mode 100644 index 0000000..371fef1 --- /dev/null +++ b/public/footpedal.html @@ -0,0 +1,110 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <title>My footpedal — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="stylesheet" href="assets/style.css"> + <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> +</head> +<body> +<header><a href="/">Luke T. Shumaker</a> » <a href=/blog>blog</a> » footpedal</header> +<article> +<h1 id="my-footpedal">My footpedal</h1> +<p>A collection of things I have written about the footpedal that I +sometimes use with my computer:</p> +<hr /> +<blockquote> +<p>I have a VEC Infinity IN-USB-2 that I grabbed at Goodwill for $5.</p> +<p>I love it. I tend to use it less when the RSI isn’t flaring up, but +the first time I had RSI being bad is when I started to use it–it really +helped. My RSI was in the few fingers on the pinky-side of my hands (so +the opposite of CTS; I’m told this is less common, but I’m figuring it’s +more common for Emacs users, with all the talk of “Emacs-pinky”), and +much worse on my right hand. The pedal has 3 keys; I have them as +(left-to-right) Control, Shift, and Alt/Meta, with the addition that if +I short-tap the center, it does Enter; this basically means that I can +avoid using my right pinky at all when typing. This allowed me to keep +using the computer without making things worse, while I did other things +to improve the RSI (stretches, wearing wrist braces at night). The +tap-for-Enter seems a bit weird, but I added it after that motion seemed +instinctual when using left-button for control in a repeated C-s search; +hold foot-left and tap keyboard-S to increment search, then tap +foot-center to complete the search.</p> +<p>About the IN-USB-2 specifically:</p> +<p><strong><em>It’s an XK-3:</em></strong> It’s actually made by P.I. +Engineering for VEC; it’s a <a +href="https://web.archive.org/web/20180119/http://piengineering.com/xkeys/xkfootRear.php">rear-hinged +X-Keys XK-3</a><sup>(<a href="https://xkeys.com/xkfootrear.html">updated +link</a>)</sup> with a different (less capable) firmware. The benefit of +the crippled firmware is that the IN-USB-2 is way cheaper than buying a +“real” XK-3 (even without finding one at Goodwill).</p> +<p><strong><em>Firmware:</em></strong> On the downside of that, the +firmware is less capable; unlike the XK-3, it shows up as a generic HID +device with 3 buttons, instead of as a keyboard, and thus you can’t +configure which button is which key. That is, you’ll have to have a +program running to monitor the HID buttons and synthesize whichever key +events you want, instead of configuring the keys on the device. +Fortunately, the device is supported by P.I. Engineering’s Linux SDK, <a +href="https://web.archive.org/web/20180119/http://xkeys.com/PISupport/DeveloperLinuxSDK.php"><code>pihid</code></a><sup>(<a +href="https://xkeys.com/software/developer/developerlinuxsdk.html">updated +link</a>)</sup> (<a +href="https://github.com/piengineering/xkeys">git</a>), so that program +is fairly easy to write (and as an Emacs user, you probably appreciate +that configuration-is-code gives you more flexibility). The +<code>pihid</code> SDK is a crappy little wrapper around the +<code>hidapi</code> library with the appropriate magic numbers for the +hardware. <code>hidapi</code> is portable to macOS; I imagine that +getting <code>pihid</code> working on macOS is no trouble at all. (IDK +if their <a +href="https://web.archive.org/web/20180119/http://piengineering.com/PISupport/SoftwareControllerMate.php">ControllerMate</a> +program for macOS works with it, or if ControllerMate requires the real +XK-3 firmware.)</p> +<p><strong><em>Hardware:</em></strong> The thing feels sturdy. If the +switch ever craps out (not that I think it would), it’s a generic switch +that’s in everything that you can pick up for $0.50; which is nice for +peace-of-mind. The middle button feels a little wide; I generally have +my foot around the left side of it, for Control, and it is difficult to +reach over to the right for Meta, and usually end up hitting Meta on the +keyboard instead.</p> +<p><cite><a +href="https://reddit.com/r/emacs/comments/7remed/has_anybody_used_foot_pedals/dswhzkt/">Reddit, +2018-01-19</a></cite></p> +</blockquote> +<hr /> +<blockquote> +<p>I love it, but I don’t necessarily love it <em>more than I would any +other foot pedal</em>. If you find a different one for cheaper, go for +it.</p> +<p><cite><a +href="https://reddit.com/r/emacs/comments/7remed/has_anybody_used_foot_pedals/dswrf3r/">Reddit, +2018-01-19</a></cite></p> +</blockquote> +<hr /> +<blockquote> +<p>I found that my brain didn’t want to treat the pedals like it did +keys–it wanted to treat them modally. I wasn’t <em>pressing +control</em>, I was <em>entering control-mode</em>. I wasn’t +<em>pressing shift</em>, I was <em>entering caps-mode</em>. Which works +out, because it isn’t the quick keystrokes that cause the most strain, +it’s holding the modifier with one finger while the rest of the hand +moves around. I wouldn’t use the footpedal Control for the usual quick +C-f/b/n/p, but it’s great for holding Control as you C-s through a +document.</p> +<p><cite><a +href="https://reddit.com/r/emacs/comments/7remed/has_anybody_used_foot_pedals/dswrmo5/">Reddit, +2018-01-19</a></cite></p> +</blockquote> + +</article> +<footer> + <aside class="sponsor"><p>I'd love it if you <a class="em" + href="/sponsor/">sponsored me</a>. It will allow me to continue + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> + +<p>The content of this page is Copyright © 2025 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> +<p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> +</footer> +</body> +</html> diff --git a/public/footpedal.md b/public/footpedal.md new file mode 100644 index 0000000..1a8214f --- /dev/null +++ b/public/footpedal.md @@ -0,0 +1,92 @@ +My footpedal +============ +--- +date: "2025-05-31" +markdown_options: "+superscript" +--- + +A collection of things I have written about the footpedal that I +sometimes use with my computer: + +---- + +> I have a VEC Infinity IN-USB-2 that I grabbed at Goodwill for $5. +> +> I love it. I tend to use it less when the RSI isn't flaring up, but +> the first time I had RSI being bad is when I started to use it--it +> really helped. My RSI was in the few fingers on the pinky-side of +> my hands (so the opposite of CTS; I'm told this is less common, but +> I'm figuring it's more common for Emacs users, with all the talk of +> "Emacs-pinky"), and much worse on my right hand. The pedal has 3 +> keys; I have them as (left-to-right) Control, Shift, and Alt/Meta, +> with the addition that if I short-tap the center, it does Enter; +> this basically means that I can avoid using my right pinky at all +> when typing. This allowed me to keep using the computer without +> making things worse, while I did other things to improve the RSI +> (stretches, wearing wrist braces at night). The tap-for-Enter seems +> a bit weird, but I added it after that motion seemed instinctual +> when using left-button for control in a repeated C-s search; hold +> foot-left and tap keyboard-S to increment search, then tap +> foot-center to complete the search. +> +> About the IN-USB-2 specifically: +> +> ***It's an XK-3:*** It's actually made by P.I. Engineering for VEC; +> it's a [rear-hinged X-Keys +> XK-3](https://web.archive.org/web/20180119/http://piengineering.com/xkeys/xkfootRear.php)^([updated +> link](https://xkeys.com/xkfootrear.html))^ with a different (less +> capable) firmware. The benefit of the crippled firmware is that the +> IN-USB-2 is way cheaper than buying a "real" XK-3 (even without +> finding one at Goodwill). +> +> ***Firmware:*** On the downside of that, the firmware is less +> capable; unlike the XK-3, it shows up as a generic HID device with 3 +> buttons, instead of as a keyboard, and thus you can't configure +> which button is which key. That is, you'll have to have a program +> running to monitor the HID buttons and synthesize whichever key +> events you want, instead of configuring the keys on the device. +> Fortunately, the device is supported by P.I. Engineering's Linux +> SDK, +> [`pihid`](https://web.archive.org/web/20180119/http://xkeys.com/PISupport/DeveloperLinuxSDK.php)^([updated +> link](https://xkeys.com/software/developer/developerlinuxsdk.html))^ +> ([git](https://github.com/piengineering/xkeys)), so that program is +> fairly easy to write (and as an Emacs user, you probably appreciate +> that configuration-is-code gives you more flexibility). The `pihid` +> SDK is a crappy little wrapper around the `hidapi` library with the +> appropriate magic numbers for the hardware. `hidapi` is portable to +> macOS; I imagine that getting `pihid` working on macOS is no trouble +> at all. (IDK if their +> [ControllerMate](https://web.archive.org/web/20180119/http://piengineering.com/PISupport/SoftwareControllerMate.php) +> program for macOS works with it, or if ControllerMate requires the +> real XK-3 firmware.) +> +> ***Hardware:*** The thing feels sturdy. If the switch ever craps +> out (not that I think it would), it's a generic switch that's in +> everything that you can pick up for $0.50; which is nice for +> peace-of-mind. The middle button feels a little wide; I generally +> have my foot around the left side of it, for Control, and it is +> difficult to reach over to the right for Meta, and usually end up +> hitting Meta on the keyboard instead. +> +> <cite>[Reddit, 2018-01-19](https://reddit.com/r/emacs/comments/7remed/has_anybody_used_foot_pedals/dswhzkt/)</cite> + +---- + +> I love it, but I don't necessarily love it *more than I would any +> other foot pedal*. If you find a different one for cheaper, go for +> it. +> +> <cite>[Reddit, 2018-01-19](https://reddit.com/r/emacs/comments/7remed/has_anybody_used_foot_pedals/dswrf3r/)</cite> + +---- + +> I found that my brain didn't want to treat the pedals like it did +> keys--it wanted to treat them modally. I wasn't *pressing control*, +> I was *entering control-mode*. I wasn't *pressing shift*, I was +> *entering caps-mode*. Which works out, because it isn't the quick +> keystrokes that cause the most strain, it's holding the modifier +> with one finger while the rest of the hand moves around. I wouldn't +> use the footpedal Control for the usual quick C-f/b/n/p, but it's +> great for holding Control as you C-s through a document. +> +> <cite>[Reddit, 2018-01-19](https://reddit.com/r/emacs/comments/7remed/has_anybody_used_foot_pedals/dswrmo5/)</cite> diff --git a/public/index.atom b/public/index.atom index 18ad7fe..95c48f8 100644 --- a/public/index.atom +++ b/public/index.atom @@ -5,12 +5,110 @@ <link rel="self" type="application/atom+xml" href="./index.atom"/> <link rel="alternate" type="text/html" href="./"/> <link rel="alternate" type="text/markdown" href="./index.md"/> - <updated>2024-07-10T00:00:00+00:00</updated> + <updated>2025-05-31T00:00:00+00:00</updated> <author><name>Luke T. Shumaker</name><uri>https://lukeshu.com/</uri><email>lukeshu@lukeshu.com</email></author> <id>https://lukeshu.com/blog/</id> <entry xmlns="http://www.w3.org/2005/Atom"> + <link rel="alternate" type="text/html" href="./footpedal.html"/> + <link rel="alternate" type="text/markdown" href="./footpedal.md"/> + <id>https://lukeshu.com/blog/footpedal.html</id> + <updated>2025-05-31T00:00:00+00:00</updated> + <published>2025-05-31T00:00:00+00:00</published> + <title>My footpedal</title> + <content type="html"><h1 id="my-footpedal">My footpedal</h1> +<p>A collection of things I have written about the footpedal that I +sometimes use with my computer:</p> +<hr /> +<blockquote> +<p>I have a VEC Infinity IN-USB-2 that I grabbed at Goodwill for $5.</p> +<p>I love it. I tend to use it less when the RSI isn’t flaring up, but +the first time I had RSI being bad is when I started to use it–it really +helped. My RSI was in the few fingers on the pinky-side of my hands (so +the opposite of CTS; I’m told this is less common, but I’m figuring it’s +more common for Emacs users, with all the talk of “Emacs-pinky”), and +much worse on my right hand. The pedal has 3 keys; I have them as +(left-to-right) Control, Shift, and Alt/Meta, with the addition that if +I short-tap the center, it does Enter; this basically means that I can +avoid using my right pinky at all when typing. This allowed me to keep +using the computer without making things worse, while I did other things +to improve the RSI (stretches, wearing wrist braces at night). The +tap-for-Enter seems a bit weird, but I added it after that motion seemed +instinctual when using left-button for control in a repeated C-s search; +hold foot-left and tap keyboard-S to increment search, then tap +foot-center to complete the search.</p> +<p>About the IN-USB-2 specifically:</p> +<p><strong><em>It’s an XK-3:</em></strong> It’s actually made by P.I. +Engineering for VEC; it’s a <a +href="https://web.archive.org/web/20180119/http://piengineering.com/xkeys/xkfootRear.php">rear-hinged +X-Keys XK-3</a><sup>(<a href="https://xkeys.com/xkfootrear.html">updated +link</a>)</sup> with a different (less capable) firmware. The benefit of +the crippled firmware is that the IN-USB-2 is way cheaper than buying a +“real” XK-3 (even without finding one at Goodwill).</p> +<p><strong><em>Firmware:</em></strong> On the downside of that, the +firmware is less capable; unlike the XK-3, it shows up as a generic HID +device with 3 buttons, instead of as a keyboard, and thus you can’t +configure which button is which key. That is, you’ll have to have a +program running to monitor the HID buttons and synthesize whichever key +events you want, instead of configuring the keys on the device. +Fortunately, the device is supported by P.I. Engineering’s Linux SDK, <a +href="https://web.archive.org/web/20180119/http://xkeys.com/PISupport/DeveloperLinuxSDK.php"><code>pihid</code></a><sup>(<a +href="https://xkeys.com/software/developer/developerlinuxsdk.html">updated +link</a>)</sup> (<a +href="https://github.com/piengineering/xkeys">git</a>), so that program +is fairly easy to write (and as an Emacs user, you probably appreciate +that configuration-is-code gives you more flexibility). The +<code>pihid</code> SDK is a crappy little wrapper around the +<code>hidapi</code> library with the appropriate magic numbers for the +hardware. <code>hidapi</code> is portable to macOS; I imagine that +getting <code>pihid</code> working on macOS is no trouble at all. (IDK +if their <a +href="https://web.archive.org/web/20180119/http://piengineering.com/PISupport/SoftwareControllerMate.php">ControllerMate</a> +program for macOS works with it, or if ControllerMate requires the real +XK-3 firmware.)</p> +<p><strong><em>Hardware:</em></strong> The thing feels sturdy. If the +switch ever craps out (not that I think it would), it’s a generic switch +that’s in everything that you can pick up for $0.50; which is nice for +peace-of-mind. The middle button feels a little wide; I generally have +my foot around the left side of it, for Control, and it is difficult to +reach over to the right for Meta, and usually end up hitting Meta on the +keyboard instead.</p> +<p><cite><a +href="https://reddit.com/r/emacs/comments/7remed/has_anybody_used_foot_pedals/dswhzkt/">Reddit, +2018-01-19</a></cite></p> +</blockquote> +<hr /> +<blockquote> +<p>I love it, but I don’t necessarily love it <em>more than I would any +other foot pedal</em>. If you find a different one for cheaper, go for +it.</p> +<p><cite><a +href="https://reddit.com/r/emacs/comments/7remed/has_anybody_used_foot_pedals/dswrf3r/">Reddit, +2018-01-19</a></cite></p> +</blockquote> +<hr /> +<blockquote> +<p>I found that my brain didn’t want to treat the pedals like it did +keys–it wanted to treat them modally. I wasn’t <em>pressing +control</em>, I was <em>entering control-mode</em>. I wasn’t +<em>pressing shift</em>, I was <em>entering caps-mode</em>. Which works +out, because it isn’t the quick keystrokes that cause the most strain, +it’s holding the modifier with one finger while the rest of the hand +moves around. I wouldn’t use the footpedal Control for the usual quick +C-f/b/n/p, but it’s great for holding Control as you C-s through a +document.</p> +<p><cite><a +href="https://reddit.com/r/emacs/comments/7remed/has_anybody_used_foot_pedals/dswrmo5/">Reddit, +2018-01-19</a></cite></p> +</blockquote> +</content> + <author><name>Luke T. Shumaker</name><uri>https://lukeshu.com/</uri><email>lukeshu@lukeshu.com</email></author> + <rights type="html"><p>The content of this page is Copyright © 2025 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> +<p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p></rights> + </entry> + + <entry xmlns="http://www.w3.org/2005/Atom"> <link rel="alternate" type="text/html" href="./relax-ng-errata.html"/> <link rel="alternate" type="text/markdown" href="./relax-ng-errata.md"/> <id>https://lukeshu.com/blog/relax-ng-errata.html</id> @@ -4113,7 +4211,7 @@ basically the only thing in rc.conf will be <code>DAEMONS</code>.< href="#fn2" class="footnote-ref" id="fnref2" role="doc-noteref"><sup>2</sup></a> For now there is compatibility for the variables that used to be there, but that is going away.</p> -<aside id="footnotes" class="footnotes footnotes-end-of-document" +<section id="footnotes" class="footnotes footnotes-end-of-document" role="doc-endnotes"> <hr /> <ol> @@ -4141,7 +4239,7 @@ role="doc-backlink">↩︎</a></p></li> <code>netmask</code>, and <code>gateway</code>. But those are minor.<a href="#fnref2" class="footnote-back" role="doc-backlink">↩︎</a></p></li> </ol> -</aside> +</section> </content> <author><name>Luke T. Shumaker</name><uri>https://lukeshu.com/</uri><email>lukeshu@lukeshu.com</email></author> <rights type="html"><p>The content of this page is Copyright © 2012 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> diff --git a/public/index.html b/public/index.html index a35974f..6f42f54 100644 --- a/public/index.html +++ b/public/index.html @@ -21,6 +21,8 @@ time { } </style> <ul> +<li><time>2025-05-31</time> - <a href="./footpedal.html">My +footpedal</a></li> <li><time>2024-07-10</time> - <a href="./relax-ng-errata.html">RELAX NG Compact Syntax errata</a></li> <li><time>2024-06-08</time> - <a href="./message-threading.html">Notes diff --git a/public/index.md b/public/index.md index 2d4cb05..c44e0ea 100644 --- a/public/index.md +++ b/public/index.md @@ -10,6 +10,7 @@ time { } </style> + * <time>2025-05-31</time> - [My footpedal](./footpedal.html) * <time>2024-07-10</time> - [RELAX NG Compact Syntax errata](./relax-ng-errata.html) * <time>2024-06-08</time> - [Notes on email message threading](./message-threading.html) * <time>2023-07-10</time> - [Announcing: btrfs-rec: Recover (data from) a broken btrfs filesystem](./btrfs-rec.html) |