Re: How send character to keyboardbuffer?
- From: michelratipho@xxxxxxxx
- Date: 30 Mar 2007 15:21:29 -0700
On 30 mrt, 02:03, /\\\\o//\\annabee <Wanna...@xxxxxxxxxxxxxxx> wrote:
På Thu, 29 Mar 2007 16:55:26 +0200, skrev Wolfgang Kern <nowh...@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- Tekst uit oorspronkelijk bericht niet weergeven -
- Tekst uit oorspronkelijk bericht weergeven -- Tekst uit oorspronkelijk bericht niet weergeven -
- Tekst uit oorspronkelijk bericht weergeven -
Thank you all, but I've found out that the old Intellimouse 4.12 still
has the backspace to be able to assign to a mouse button. That version
even scrolls windows on hovering without the need to make them active.
I wonder why version 5 and 6 doesn't have it anymore?! Did Microsoft
forget it?
If I could find out how to program my own mouse-driver/utility I would
be able to even give 5-button mouses even more power. I am thinking
here on assigning something on a combination of simultanious pressed
buttons or even on which order they are pressed simultanious....
.
- Follow-Ups:
- Re: How send character to keyboardbuffer?
- From: Wolfgang Kern
- 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
- Re: How send character to keyboardbuffer?
- From: /\\\\o//\\annabee
- How send character to keyboardbuffer?
- Prev by Date: Re: 68K/68332 Assembly/Binary Problem
- Next by Date: Re: newbie: MUL product
- Previous by thread: Re: How send character to keyboardbuffer?
- Next by thread: Re: How send character to keyboardbuffer?
- Index(es):