Exposed Shift/Ctrl/Alt to the scripts

This commit is contained in:
ZZYZX 2017-02-03 16:15:53 +02:00
parent 0d96517f5f
commit b4565c3800

View file

@ -116,11 +116,9 @@ class UiEvent : BaseEvent native
native readonly int MouseX; native readonly int MouseX;
native readonly int MouseY; native readonly int MouseY;
// //
/* // this can't be exposed yet: SDL driver doesn't set these at all
native readonly bool IsShift; native readonly bool IsShift;
native readonly bool IsCtrl; native readonly bool IsCtrl;
native readonly bool IsAlt; native readonly bool IsAlt;
*/
} }
class InputEvent : BaseEvent native class InputEvent : BaseEvent native