Hello Russel,

> i may be adding a new field in the parameter for the extended key flag.
> the "enter" and the "num enter" can now be distinguish through this flag.
> will this be sufficient for this extended byte also?

If I understand your question correctly...

They both mean the same thing: an "extended scan code" means it has
the extra byte E0 in front of it.

The ordinary key "E" sends a one byte scan code: 0x12 (18 dec)
My "Webcam" key sends a two byte scan code: 0xE0 0x12
That means the same as "scan code 0x12 with the extended flag set".

Some key viewing tools display an extended code like this: E0 12
and some display the same thing like this: 12 (ext)

Unfortunately the Webcam key has virtual key code FF(255)
which is the same vk as several other keys. Therefore the only way
to identify the Webcam key is by specifying the scan code - and also
specifying that the ext flag is set, else it would mean the E key.


By using the scan code E0 as an escape code (meaning "see also the
next byte because this is an extended SC") they doubled the number
of unique scan codes.
By the way, they have reserved the scan code E1 for a similar purpose,
which could add another 124 unique codes as another extended set
if they ever implement it.

> if not, do you know of any tool that displays this extended byte? cause
> i don't have a multimedia keyboard currently so i need to find keys in my
> keyboard that sends this extended key.

PowerPro's new Exec.TraceKey() shows it as "ext".

Keys on standard keyboards which send the extended byte include
numpad Enter, numpad /, RightAlt, both Win keys, the Apps key,
and several others -- the full list is in All_Keyboard_Codes2.txt
in the group's /Files/Documentation/

I hope that answers what you wanted :)

Alan



Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to