Re: How send character to keyboardbuffer?
- From: /\\\\o//\\annabee <Wannabee@xxxxxxxxxxxxxxx>
- Date: Fri, 30 Mar 2007 02:03:22 +0200
På Thu, 29 Mar 2007 16:55:26 +0200, skrev Wolfgang Kern <nowhere@xxxxxxxx>:
michelratipho wrote:
To get anything "useful", we need to write backspace-space-backspace.
You mean only 1 backspace want do it?
Still what would be the correct assembler routine?
You problem with the backspace could come from the keyboard
handler itself, some OS (IIRC: DOS&DOSKEY) remove the last recent
character in its buffer already when receiving a BACKspace.
So if the buffer is empty any BACKspace would be ignored.
You then may need to check on the last received scan-code
in the buffer to find 'last key' pressed was a BACKspace.
My own written KEYBD routines produce code 08 for BACKspace
and leave any action on it to the application.
But as it seems you like to write a SIMKEY function for winXP,
you better check on API-opportunities then.
for win32 he got for instance "User32.keybd_event"
there another as well, "SendInput", that is new, where he can send an array, but
I think the docs are misleasing on that one, and I didnt get it working
last time I tried. "User32.keybd_event" is easier to set up and I know it works.
It syntesize a key into the os, as if it came from the keyboard.
__
wolfgang
.
- Follow-Ups:
- Re: How send character to keyboardbuffer?
- From: michelratipho
- Re: How send character to keyboardbuffer?
- References:
- How send character to keyboardbuffer?
- From: michelratipho
- Re: How send character to keyboardbuffer?
- From: Frank Kotler
- Re: How send character to keyboardbuffer?
- From: michelratipho
- Re: How send character to keyboardbuffer?
- From: Wolfgang Kern
- How send character to keyboardbuffer?
- Prev by Date: Re: ascii to tword - help
- Next by Date: Re: cFASM (calling FASM as a C function)
- Previous by thread: Re: How send character to keyboardbuffer?
- Next by thread: Re: How send character to keyboardbuffer?
- Index(es):
Relevant Pages
|