From: Eric Nelson <eric.nelson@boundarydevices.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] i.MX6: mx6qsabrelite: Add keypress support
Date: Sat, 03 Mar 2012 08:51:21 -0700 [thread overview]
Message-ID: <4F523DF9.90502@boundarydevices.com> (raw)
In-Reply-To: <20120303154851.823CC126F3B0@gemini.denx.de>
On 03/03/2012 08:48 AM, Wolfgang Denk wrote:
> Dear Eric Nelson,
>
> In message<4F52390C.4080108@boundarydevices.com> you wrote:
>>
>>> Why not make it an STDIN device as any other keyboard?
>>>
>> Is there a non-blocking read from stdin available to boot script?
>>
>> How would we represent keys like "Menu", "Home", "Volume up" and "Volume down"?
>>
>> Through ANSI escape sequences?
>
> No. You don't have to. Mapping key presses to functions (bind them to
> commands) is a different thing. Keys could be "1", "2", "3" and "4",
> and could be mapped to "run cmd_1", ... "run cmd_4" respectively.
> Then the user can define what "cmd_1" etc. does.
>
That's perfect. All that's left is the details...
Thanks for your help.
next prev parent reply other threads:[~2012-03-03 15:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-03 0:00 [U-Boot] [PATCH] i.MX6: mx6qsabrelite: Add keypress support Eric Nelson
2012-03-03 0:11 ` Eric Nelson
2012-03-03 2:18 ` Marek Vasut
2012-03-03 15:30 ` Eric Nelson
2012-03-03 15:48 ` Wolfgang Denk
2012-03-03 15:51 ` Eric Nelson [this message]
2012-03-24 7:13 ` Dirk Behme
2012-03-24 22:39 ` Eric Nelson
2012-03-03 9:15 ` Wolfgang Denk
2012-03-03 15:35 ` Eric Nelson
2012-03-03 15:50 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F523DF9.90502@boundarydevices.com \
--to=eric.nelson@boundarydevices.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox