<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<link rel="alternate" type="text/html" href="https://gamma.unpythonic.net/"/>

<title>Jeff Epler's blog</title>
<modified>2022-09-04T02:11:14Z</modified>
<tagline>Photos, electronics, cnc, and more</tagline>
<author><name>Jeff Epler</name><email>jepler@unpythonic.net</email></author>
<entry>
<title>Recent keyboard deeds</title>
<issued>2022-09-04T02:11:14Z</issued>
<modified>2022-09-04T02:11:14Z</modified>
<id>https://gamma.unpythonic.net/01662257474</id>
<link rel="alternate" type="text/html" href="https://gamma.unpythonic.net/01662257474"/>
<content type="text/html" mode="escaped">

I made several USB HID keyboard conversions recently.  They all use
CircuitPython. The hardware setup is not documented as none are worthy of being
called finished projects at this point, but the source code gives an idea what
connections are needed. One or more of these may be the subject of a future
Adafruit Learning System Guide.

&lt;p&gt;Click a triangle to see the full code as an embedded github gist. (Note: if you're viewing this in a RSS reader, you may have to click through to get the embeds.  Sorry!)

&lt;p&gt;&lt;h2 id=&quot;1&quot;&gt;Commodore 16 Keyboard&lt;/h2&gt;
Used an Adafruit KB2040.  Gratuitous use of asyncio. The keymap needs work to be usable, but it's a good start. &lt;a href=&quot;https://gist.github.com/jepler/92de22b404657be27c0743186ae6e9f6&quot;&gt;Direct gist link&lt;/a&gt;.

&lt;p&gt;&lt;details&gt;
&lt;script src=&quot;https://gist.github.com/jepler/92de22b404657be27c0743186ae6e9f6.js&quot;&gt;&lt;/script&gt;
&lt;/details&gt;

&lt;p&gt;&lt;h2 id=&quot;2&quot;&gt;IBM XT &amp;quot;Model F&amp;quot; Keyboard&lt;/h2&gt;
Used an Adafruit QT PY RP2040.  This layout is AWFUL, the &amp;quot;beloved&amp;quot; iteration
of the Model F was for AT computers, with a layout a lot more like a modern
keyboard (aside from the placement of the Esc and Ctrl keys anyway) &lt;a href=&quot;https://gist.github.com/jepler/28fd82ad63050f95a11a04f52cfde4aa&quot;&gt;Direct gist link&lt;/a&gt;.

&lt;p&gt;&lt;details&gt;
&lt;script src=&quot;https://gist.github.com/jepler/28fd82ad63050f95a11a04f52cfde4aa.js&quot;&gt;&lt;/script&gt;
&lt;/details&gt;

&lt;p&gt;&lt;h2 id=&quot;3&quot;&gt;Tandy 1000 Keyboard&lt;/h2&gt;
&lt;details&gt;
Used an Adafruit Feather RP2040.  The trickiest, as caps lock and num lock are
handled in the firmware; and there are some real oddities about the layout compared to the keyboards we're used to.  This keyboard also needed the most clean-up but mechanically it's 100%.  &lt;a href=&quot;https://gist.github.com/jepler/b78ef195c1b8377d6f7eae148d8f29af.js&quot;&gt;Direct gist link&lt;/a&gt;.

&lt;p&gt;&lt;details&gt;
&lt;script src=&quot;https://gist.github.com/jepler/b78ef195c1b8377d6f7eae148d8f29af.js&quot;&gt;&lt;/script&gt;
&lt;/details&gt;
</content>
</entry>
<entry>
<title>Connectbot patches for Nexus 7 + Bluetooth Keyboard</title>
<issued>2012-10-08T22:50:26Z</issued>
<modified>2012-10-08T22:50:26Z</modified>
<id>https://gamma.unpythonic.net/01349736626</id>
<link rel="alternate" type="text/html" href="https://gamma.unpythonic.net/01349736626"/>
<content type="text/html" mode="escaped">


&lt;p&gt;With these changes, my Nexus 7 works dandy with a Motorola(?)-branded bluetooth
keyboard.

&lt;p&gt;These patches are relative to connectbot v1.7.1-69-ga1894f4.

&lt;p&gt;At this time I am not able to provide a precompiled apk.  Please do not ask me
for one.

&lt;p&gt;&lt;p&gt;&lt;b&gt;Files currently attached to this page:&lt;/b&gt;
&lt;table cellpadding=5 style=&quot;width:auto!important; clear:none!important&quot;&gt;&lt;col&gt;&lt;col style=&quot;text-align: right&quot;&gt;&lt;tr bgcolor=#eeeeee&gt;&lt;td&gt;&lt;a href=&quot;https://media.unpythonic.net/emergent-files/01349736626/0001-Decent-support-for-Nexus-7-Bluetooth-keyboard.patch&quot;&gt;0001-Decent-support-for-Nexus-7-Bluetooth-keyboard.patch&lt;/a&gt;&lt;/td&gt;&lt;td&gt;16.6kB&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor=#dddddd&gt;&lt;td&gt;&lt;a href=&quot;https://media.unpythonic.net/emergent-files/01349736626/0002-fix-crash-in-setScreenSize.patch&quot;&gt;0002-fix-crash-in-setScreenSize.patch&lt;/a&gt;&lt;/td&gt;&lt;td&gt;897 bytes&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;p&gt;
</content>
</entry>
</feed>
