> IMHO, the scan code method of setting a hotkey is best kept for
> where it is necessary, such as the extra multimedia/internet keys
> which return the unspecific 255 as their VK code.

Scan codes are also useful for differentiating between Left and
Right for the Ctrl, Shift and Alt keys, which return the same VK
and a unique SC.
That can potentially create three more modifiers (or a unique macro
intro key, or a million other possible uses) without stealing
the existing functionality of any non-duplicated keys.

So these are probably the most useful scan codes of all:

   Scan     VK
   2A(42)  10(16)   LeftShift
   36(54)  10(16)   RightShift
   1D(29)  11(17)   LeftCtrl
E0 1D(29)  11(17)   RightCtrl
   38(56)  12(18)   LeftAlt
E0 38(56)  12(18)   RightAlt

whereas Win has unique VKs for Left and Right Win
E0 5B(91)  5B(91)   LeftWin
E0 5C(92)  5C(92)   RightWin
E0 5D(93)  5D(93)   Apps key


I had no idea that getting a new keyboard would cause me to embark
on such a marathon exploration. As in other areas of WinXP, such as
the registry, I am impressed by how the OS seems to be not designed,
it just happened that way - like a shanty town or a mad woman's knitting.



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