<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Other NXP ProductsのトピックRe: Sample app code to read keypad presses</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Sample-app-code-to-read-keypad-presses/m-p/185505#M1476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use evtest application to read your keyboard keys on MX27PDK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This package is available in the Savannah LTIB (&lt;A href="http://www.bitshrine.org/" rel="nofollow" target="_blank"&gt;www.bitshrine.org&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;ltib -p evtest.spec -m prep&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;ltib -p evtest.spec -m scbuild&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;ltib -p evtest.spec -m scdeploy&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;- Boot Linux and then (on the MX27PDK prompt):&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;- Run the evtest application:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;evtest /dev/input/event0&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;Then if you press the keyboard you should see the application displaying the name of the key you pressed.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial"&gt;Regarding your second question: you can simply do a: cat imageraw &amp;gt; /dev/fb0&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;Regards,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial"&gt;Fabio Estevam&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jun 2009 02:44:04 GMT</pubDate>
    <dc:creator>fabio_estevam</dc:creator>
    <dc:date>2009-06-02T02:44:04Z</dc:date>
    <item>
      <title>Sample app code to read keypad presses</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Sample-app-code-to-read-keypad-presses/m-p/185504#M1475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, can someone point me to some sample app code to read the keypad presses on the MX27PDK? Also I am looking for sample app code to write to the LCD driver /dev/fb0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 00:30:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Sample-app-code-to-read-keypad-presses/m-p/185504#M1475</guid>
      <dc:creator>Durian</dc:creator>
      <dc:date>2009-05-29T00:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sample app code to read keypad presses</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Sample-app-code-to-read-keypad-presses/m-p/185505#M1476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use evtest application to read your keyboard keys on MX27PDK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This package is available in the Savannah LTIB (&lt;A href="http://www.bitshrine.org/" rel="nofollow" target="_blank"&gt;www.bitshrine.org&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;ltib -p evtest.spec -m prep&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;ltib -p evtest.spec -m scbuild&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;ltib -p evtest.spec -m scdeploy&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;- Boot Linux and then (on the MX27PDK prompt):&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;- Run the evtest application:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;evtest /dev/input/event0&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;Then if you press the keyboard you should see the application displaying the name of the key you pressed.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial"&gt;Regarding your second question: you can simply do a: cat imageraw &amp;gt; /dev/fb0&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;Regards,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="243505213-18082008"&gt;&lt;FONT color="#0000ff" face="Arial"&gt;Fabio Estevam&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 02:44:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Sample-app-code-to-read-keypad-presses/m-p/185505#M1476</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2009-06-02T02:44:04Z</dc:date>
    </item>
  </channel>
</rss>

