Sorry, maybe 'bug' was worded wrong =p
It is an issue with the module though. I found a fix in cegui.mod/base.bmx:
to
Any chance this could become official?
Edit: And looking at base.bmx made me really realise just how much work you put into these modules. A lot more than just 'wrapping' going on.
It is an issue with the module though. I found a fix in cegui.mod/base.bmx:
Function Keyhook:Object( id:Int, data:Object, context:Object ) Local ev:TEvent=TEvent(data) If Not ev Return data Select ev.id Case EVENT_KEYDOWN TCESystem.injectKeyDown(ev.data) Case EVENT_KEYUP TCESystem.injectKeyUp(ev.data) Case EVENT_KEYCHAR TCESystem.injectChar(ev.data) End Select Return data End Function
to
Function Keyhook:Object( id:Int, data:Object, context:Object ) Local ev:TEvent=TEvent(data) If Not ev Return data Select ev.id Case EVENT_KEYREPEAT TCESystem.injectKeyDown(ev.data) Case EVENT_KEYDOWN TCESystem.injectKeyDown(ev.data) Case EVENT_KEYUP TCESystem.injectKeyUp(ev.data) Case EVENT_KEYCHAR TCESystem.injectChar(ev.data) End Select Return data End Function
Any chance this could become official?
Edit: And looking at base.bmx made me really realise just how much work you put into these modules. A lot more than just 'wrapping' going on.