Re: <CR/LF> or <CR> or <LF>?
- From: Martin Griffith <mart_in_medina@xxxxxxxx>
- Date: Wed, 29 Aug 2007 01:05:08 +0200
On Tue, 28 Aug 2007 15:41:16 -0700, in comp.arch.embedded Dingo
<dingoatemydonut@xxxxxxx> wrote:
On Aug 28, 5:56 pm, Martin Griffith <mart_in_medina@xxxxxxxx> wrote:
I need to insert a numeric text string into an opened text document,
from the equivalent of a numeric keypad, via a USB port, (just been
reading about HID.)
The user just presses the Big Red Button on my box, when needed.
Should I send cr/lf etc at the end of my data to create a new line?
Probably need it to be M$/Mac/Lunix compatable.
You need to read some more about HID. Keypads send keypresses,
not text. You probably need do nothing more than send the code for
the Enter key to have the text come out correctly on all systems.
Wow, never thought "they" would have a code for the Enter key.
Thanks, a bit more reading to do!
Martin
.
- Follow-Ups:
- Re: <CR/LF> or <CR> or <LF>?
- From: Didi
- Re: <CR/LF> or <CR> or <LF>?
- References:
- <CR/LF> or <CR> or <LF>?
- From: Martin Griffith
- Re: <CR/LF> or <CR> or <LF>?
- From: Dingo
- <CR/LF> or <CR> or <LF>?
- Prev by Date: Re: Program size - Microblaze
- Next by Date: Re: ZigBee real using
- Previous by thread: Re: <CR/LF> or <CR> or <LF>?
- Next by thread: Re: <CR/LF> or <CR> or <LF>?
- Index(es):