--- In [email protected], Alan Martin <[EMAIL PROTECTED]> wrote:

> 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

You may differentiate those without using scancodes. At least, I can
do it with the KeyTrap in WXP here, using vkcodes:

A0/A1(160/161), A2/A3(162/163), A4/A5(164/165)
for Left/Right Shift, Ctrl, Alt.

Sean




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