-
Tor Lillqvist yazdı
Since 360d6bf4 the precompiled header for vcl includes <rsc/rsc-vcl-shared-types.hxx> , so the KEY_SHIFT from there interfered with the KEY_SHIFT here. These magic values apparently are the "known" return values from MapVirtualKey() called to translate (fixed) virtual key codes to scan codes, suitably shifted and ORed with some flag bit(s). Whether such scan code values really are constant in all Windows installations I have no idea, it does sound a bit scary to me to assume they are. (If they are, why does <windows.h> then not provide symbolic names for them?) Change-Id: Ic18a8e1a8b7a95bb6b018382662944f6912e4734
79218129