[WIN] Fix compile error caused by upstream change the constant names of the ButtonState enum.
Merge pull request #342 from zhchbin/master

[WIN]Fix Compilation error caused by upstream change the constant names of the ButtonState enum.