-
- [email protected]
- Posts: 2
- Joined:
NoesisGUI and DirectInput
HI!
I'm try to render some .xaml using NoesisGUI 0.9.4 and DX9. I can render without any issue...problem is that DirectInput's are lost....I see GUI+ Rendered Scene but the character is no longer responding to mouse+keyboard input.
I've tried with tux.xaml or Time.xaml.....they just render right...but I'm loosing my DI inputs :-/
If I disable NoesisGUI creation everything is just fine...
I lost the input just after the calling:
NsGetKernel()->InitSystems();
Any advice?
Best Regards
I'm try to render some .xaml using NoesisGUI 0.9.4 and DX9. I can render without any issue...problem is that DirectInput's are lost....I see GUI+ Rendered Scene but the character is no longer responding to mouse+keyboard input.
I've tried with tux.xaml or Time.xaml.....they just render right...but I'm loosing my DI inputs :-/
If I disable NoesisGUI creation everything is just fine...
I lost the input just after the calling:
NsGetKernel()->InitSystems();
Any advice?
Best Regards
-
-
sfernandez
Site Admin
- Posts: 3222
- Joined:
Re: NoesisGUI and DirectInput
The problem is that default NsGetKernel()->InitSystems() is initializing our InputSystem implementation (that uses DirectInput), but this system is not really needed in the UI by SDK users.
As a temporal fix you can initialize systems manually like this:
In a future version this problem will be fixed.
As a temporal fix you can initialize systems manually like this:
Code: Select all
NsSymbol systems[] = { NsSymbol("ConfigSystem"), NsSymbol("TimerSystem"),
NsSymbol("ResourceDbSystem"), NsSymbol("ResourceSystem"), NsSymbol("RenderSystem"),
NsSymbol("VGLFontSystem"), NsSymbol("VGLSystem"), NsSymbol("UISystem"),
NsSymbol::Null() };
NsGetKernel()->InitSystems(systems);
Re: NoesisGUI and DirectInput
Fixed in 0.9.5
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 0 guests