m
Move page script moved page API IsShiftKeyDown to WoW:API IsShiftKeyDown without leaving a redirect
(Added note that Shift/Control/Alt key events only return 1 if it is a modifier, not part of a keybind) |
m (Move page script moved page API IsShiftKeyDown to WoW:API IsShiftKeyDown without leaving a redirect) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 21: | Line 21: | ||
== Note == | == Note == | ||
These functions will only return true if one of the keys is considered a modifier. | These functions will only return true if one of the keys is considered a modifier. If the code executing is started with Shift/Control/Alt as part of the key binding, it will return nil. | ||
[[User:Govtgeek|Govtgeek]] ([[User talk:Govtgeek|talk]]) 01:30, 8 March 2009 (UTC) | [[User:Govtgeek|Govtgeek]] ([[User talk:Govtgeek|talk]]) 01:30, 8 March 2009 (UTC) | ||
These functions actually return the value 1 at this time (when evaluated true). After the WoD 6.0 API goes into affect the values returned will be boolean true and false (nil). | |||