<?xml version="1.0" encoding="UTF-8" ?>
<rss version="0.91">
  <channel>
    <title>業務テンキー作成</title>
    <description></description>
    <link>http://lee.blog.shinobi.jp/</link>
    <language>ja</language>
    <copyright>Copyright (C) NINJATOOLS ALL RIGHTS RESERVED.</copyright>

    <item>
      <title>自作その3</title>
      <description>&lt;img src=&quot;http://file.lee.blog.shinobi.jp/9.png&quot; alt=&quot;&quot; /&gt; &lt;br /&gt;
もうひとつ、キースイッチの中にダイオードを内蔵させて、&lt;br /&gt;
さらに100*100に収める方法を考えてみた&lt;br /&gt;
上一行を分離させればいい&lt;br /&gt;
今回の物がうまくいけるならばこれを発注してみるつもりだ</description> 
      <link>http://lee.blog.shinobi.jp/j/jisaku4</link> 
    </item>
    <item>
      <title>自作続きの2</title>
      <description>前回のプリント基板は120*75cmの為、$4.9では作成できず、&lt;br /&gt;
5枚で$11.49+配送費$10.10都合$21.59かかった&lt;br /&gt;
&lt;br /&gt;
そして動作確認、成功で組み付けたところ・・・&lt;br /&gt;
機体に入りきらないorz....&lt;br /&gt;
高さが約2mmほど足りず蓋が閉まらないことが判明した&lt;br /&gt;
元々の機体にはあまり余地が無いように作られていたことが原因だ&lt;br /&gt;
USBケーブルが正直きつい&lt;br /&gt;
&lt;br /&gt;
1.3Dプリンタ用にCADでデータ作成してDMMに投げる&lt;br /&gt;
2.ゴム貼り付けて高さを上げる&lt;br /&gt;
3.アルミか木でケース作る&lt;br /&gt;
&lt;br /&gt;
とりあえず2を選択(安いから)&lt;br /&gt;
うまくいけばいいのだが・・・&lt;br /&gt;
だめならアルミかCADか、うんざりではある</description> 
      <link>http://lee.blog.shinobi.jp/j/jisaku3</link> 
    </item>
    <item>
      <title>自作の続き</title>
      <description>ここまでやってある程度理解したので、プリント基板作成を調べた&lt;br /&gt;
kicadという基板設計ソフトがあると知りインストール&lt;br /&gt;
&lt;br /&gt;
まず回路図がわからないといけないようなので調べて書くがうまくいかず&lt;br /&gt;
何度も試行錯誤した。&lt;br /&gt;
印刷してみると裏表逆だったり、左右逆だったり&lt;br /&gt;
ダイオードの向きがわからないとかも&lt;br /&gt;
&lt;br /&gt;
表面実装ダイオードではなく通常のダイオードを利用しようと思い配置&lt;br /&gt;
そしてなんとか発注し、半月掛かってできたのがこれ&lt;br /&gt;
&lt;img src=&quot;http://file.lee.blog.shinobi.jp/IMG_20171010_162905.jpg&quot; alt=&quot;&quot; /&gt; &lt;br /&gt;
&lt;img src=&quot;http://file.lee.blog.shinobi.jp/IMG_20171010_162915.jpg&quot; alt=&quot;&quot; /&gt; &lt;br /&gt;
&lt;br /&gt;
したのはいいけれど実際業者に発注して届いてみると半田しにくかった&lt;br /&gt;
なんせパッドが小さすぎて・・・&lt;br /&gt;
&lt;img src=&quot;http://file.lee.blog.shinobi.jp/IMG_20171010_162752.jpg&quot; alt=&quot;&quot; /&gt; &lt;br /&gt;
&lt;br /&gt;
で、ここまでやったがうまく作動しなくて頭を悩ませた&lt;br /&gt;
&lt;br /&gt;
結局、横ラインの電線はんだする場所間違えているという落ちで、&lt;br /&gt;
ダイオードのカソード側につなぐ必要があった</description> 
      <link>http://lee.blog.shinobi.jp/j/jisaku2</link> 
    </item>
    <item>
      <title>テンキー自作</title>
      <description>会社のテンキーが壊れた上に廃盤のため、作成することになった&lt;br /&gt;
&lt;a href=&quot;http://bit-trade-one.co.jp/product/assemblydisk/revive-usb/&quot;&gt;REVIVE USB&lt;/a&gt;というものを見つけた&lt;br /&gt;
まずはどうしても必要なのは4キーなのでこれで試そうと思って&lt;br /&gt;
タクトスイッチを購入して接続した&lt;br /&gt;
&lt;img src=&quot;http://rpe-parts.co.jp/shop/goods_image/A2325_I1.jpg&quot; /&gt;&lt;br /&gt;
こういうものだ。 &lt;br /&gt;
しかしながらCTRL+キーやALT+キーは設定できるものの必要としている動作はしないことが判明した&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
あきらめて6*6のマトリクスを組もうとしたが手持ちのテンキーが8*3の為諦めた&lt;br /&gt;
どうせ組み合わせられないキーがあることだし。&lt;br /&gt;
&lt;br /&gt;
次に調べて見つけたのがarduino&lt;br /&gt;
創作事例が豊富だったので購入したものの、用途が違うものを3つ買ってしまった&lt;br /&gt;
まぁ本物ではないから4つで1500円くらい&amp;hellip;&lt;br /&gt;
&lt;br /&gt;
結局arduino pro microが用途に合うものだった&lt;br /&gt;
600円前後で売ってた&lt;br /&gt;
&lt;br /&gt;
それと&lt;a href=&quot;https://goo.gl/DU2GW4&quot;&gt;メカニカルテンキー　22キータイプ&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
縦ライン4 横ライン6で交差するため、普通の基板ならば表裏で組むがキーボードなので裏しか使えない&lt;br /&gt;
また、ユニバーサル基板ではキースイッチの足のピッチが違う&lt;br /&gt;
&lt;br /&gt;
調べていると導電銅箔シールと絶縁テープによるベーク板への配線が見つかった&lt;br /&gt;
&lt;br /&gt;
その情報により配線を行った&lt;br /&gt;
&lt;img src=&quot;http://file.lee.blog.shinobi.jp/que-14179220574.jpg&quot; /&gt; &lt;br /&gt;
元々の基板を外し、ベーク板に重ね穴を開ける&lt;br /&gt;
その開けた部分、スイッチの足の所と縦ラインに銅箔シールを貼り付け、小信号ダイオードを横ラインに繋いだ&lt;br /&gt;
&lt;br /&gt;
試行錯誤でここまで一ヶ月&lt;br /&gt;
&lt;br /&gt;
書き込むプログラムはほかのブログから拾って登録したものの、動作しない、誤作動などが続きわからなくなったので頼みの綱、知恵袋へ&lt;br /&gt;
&lt;br /&gt;
とても親切な方がプログラムすべて書き直してくださって無事動作した&lt;br /&gt;
&lt;br /&gt;

&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;----------------------------------------------------------------------------&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;#define KEY_KEYPAD_DIVIDE &amp;nbsp;0xDC // /&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;#define KEY_KEYPAD_MULTIPLY &amp;nbsp;0xDD // *&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;#define KEY_KEYPAD_SUBTRACT &amp;nbsp;0xDE // -&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;#define KEY_KEYPAD_ADD &amp;nbsp;0xDF // +&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;#define KEY_KEYPAD_ENTER &amp;nbsp;0xE0&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;#define KEY_KEYPAD_1 &amp;nbsp;0xE1&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;#define KEY_KEYPAD_2 &amp;nbsp;0xE2&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;#define KEY_KEYPAD_3 &amp;nbsp;0xE3&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;#define KEY_KEYPAD_4 &amp;nbsp;0xE4&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;#define KEY_KEYPAD_5 &amp;nbsp;0xE5&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;#define KEY_KEYPAD_6 &amp;nbsp;0xE6&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;#define KEY_KEYPAD_7 &amp;nbsp;0xE7&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;#define KEY_KEYPAD_8 &amp;nbsp;0xE8&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;#define KEY_KEYPAD_9 &amp;nbsp;0xE9&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;#define KEY_KEYPAD_0 &amp;nbsp;0xEA&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;#define KEY_KEYPAD_DECIMAL &amp;nbsp;0xEB &amp;nbsp;// .&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;#include &quot;Keyboard.h&quot;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;// pin assign&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;byte output[6] ={3,2,5,6,7,8}; &amp;nbsp;//横&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;byte input[4] = {10,16,14,15}; &amp;nbsp;//縦&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&lt;br /&gt;
// key matrix shiftregister&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;byte key_matrix [2][6][4] = {0};&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;byte key_map [6][4] = {&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&amp;nbsp;{KEY_RIGHT_CTRL,KEY_F2,1,KEY_F9}, //1:[Alt]+[F8]&amp;rarr;[&amp;uarr;]&amp;rarr;[Enter]&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&amp;nbsp;{KEY_UP_ARROW,KEY_KEYPAD_DIVIDE,KEY_KEYPAD_MULTIPLY,KEY_BACKSPACE},&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&amp;nbsp;{KEY_KEYPAD_7,KEY_KEYPAD_8,KEY_KEYPAD_9,KEY_KEYPAD_SUBTRACT}, &amp;nbsp;//0:NONE&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&amp;nbsp;{KEY_KEYPAD_4,KEY_KEYPAD_5,KEY_KEYPAD_6,KEY_KEYPAD_ADD},&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&amp;nbsp;{KEY_KEYPAD_1,KEY_KEYPAD_2,KEY_KEYPAD_3,KEY_KEYPAD_ENTER},&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&amp;nbsp;{KEY_KEYPAD_0,0,KEY_KEYPAD_DECIMAL,0},&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&amp;nbsp;};&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;void setup() {&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&amp;nbsp; Serial.begin(115200);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&amp;nbsp; for(byte i=0;i&amp;lt;6;i++) &amp;nbsp;pinMode(output[i], INPUT_PULLUP);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&amp;nbsp; for(byte j=0;j&amp;lt;4;j++) &amp;nbsp;pinMode(input[j], INPUT_PULLUP);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&amp;nbsp; Keyboard.begin();&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&amp;nbsp; delay(1000);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;}&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;void key(byte num){&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;Keyboard.press(num);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;Keyboard.release(num);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;}&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;void loop() {&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;byte i, j;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;for (i = 0; i &amp;lt; 6; i++) {&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;// out port&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;pinMode(output[(i+5)%6], INPUT_PULLUP);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;pinMode(output[i], OUTPUT);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;digitalWrite(output[i], LOW);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;delayMicroseconds(100);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;for (j = 0; j &amp;lt; 4; j++) {&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;key_matrix[0][i][j] = key_matrix[0][i][j] &amp;lt;&amp;lt; 1;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;if (digitalRead(input[j]) == LOW ) key_matrix[0][i][j]++;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;}&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;}&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;for (i = 0; i &amp;lt; 6; i++) {&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;for (j = 0; j &amp;lt;4; j++) {&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;if(((key_matrix[0][i][j]&amp;amp;0b1111)==0b1111) &amp;amp;&amp;amp; (key_matrix[1][i][j]==0)){ //off&amp;rarr;on、mask：0b1111&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;key_matrix[1][i][j]=1;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;if(key_map[i][j]&amp;gt;7) Keyboard.press(key_map[i][j]);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;else if(key_map[i][j]==1){ &amp;nbsp;//[Alt]+[F8]&amp;rarr;[&amp;uarr;]&amp;rarr;[Enter]&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;Keyboard.press(KEY_RIGHT_ALT);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;Keyboard.press(KEY_F8);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;delay(50);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;Keyboard.releaseAll();&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;key(KEY_UP_ARROW);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;delay(50);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;key(KEY_KEYPAD_ENTER);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;}&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;}else if((key_matrix[0][i][j]&amp;amp;0b1111)==0 &amp;amp;&amp;amp; key_matrix[1][i][j]==1){ &amp;nbsp;//on&amp;rarr;off&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;key_matrix[1][i][j]=0;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;if(key_map[i][j]&amp;gt;7) Keyboard.release(key_map[i][j]);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;}&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;}&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;}&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;delay(1);&lt;/div&gt;
&lt;div style=&quot;margin: 0px; padding: 0px 20px; line-height: 1.71; font-family: 'MS PGothic', 'Lucida Grande', sans-serif;&quot;&gt;}&lt;br /&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;----------------------------------------------------------------------------&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</description> 
      <link>http://lee.blog.shinobi.jp/j/jisaku1</link> 
    </item>

  </channel>
</rss>