Difference between revisions of "ShiftState"

From MediaMonkey Wiki
Jump to: navigation, search
m (correct introduce)
m (typo)
 
Line 10: Line 10:
 
* '''64''': Middle mouse button
 
* '''64''': Middle mouse button
  
E.g. When User presses <tt>Ctrl+Alt+T</tt>, ''ShiftState'' is <tt>12</tt>, which is <tt>4|8</tt>.
+
E.g. When user presses <tt>Ctrl+Alt+T</tt>, ''ShiftState'' is <tt>12</tt>, which is <tt>4|8</tt>.
  
 
{{Introduced|3.1.0.1220}}
 
{{Introduced|3.1.0.1220}}

Latest revision as of 22:01, 20 April 2013

Shift state is an integer value specifying set of keys currently pressed. It can be a combination (i.e. binary OR) of any of the following values:

  • 0: (none of keys or buttons below pressed)
  • 1: Win key
  • 2: Shift key
  • 4: Alt key
  • 8: Ctrl key
  • 16: Left mouse button
  • 32: Right mouse button
  • 64: Middle mouse button

E.g. When user presses Ctrl+Alt+T, ShiftState is 12, which is 4|8.

Introduced in MediaMonkey version 3.1.0.1220.


See Also