[SDL2][WINRT]OnScreenKeyboard |
DLudwig
|
I'd guess 'probably not'. SDL's WinRT/UWP support is limited to 'CoreWindow', 'Direct3D' apps, minus support for XAML interoperability. As far as I've been able to tell, there's no way to display a keyboard in that type of WinRT/UWP app.
It's been a while since I've checked though. If someone wanted to do some research into that, it'd be a very big help on my end. -- David L. |
|||||||||||
|
[SDL2][WINRT]OnScreenKeyboard |
Sik
|
2016-04-15 19:17 GMT-03:00, DLudwig:
I recall the problem being the app doesn't really have control over the keyboard - it only appears when some sort of text input control gets focus. It sounds like it should be possible to take the ugly way and create a dummy control just to show/hide the virtual keyboard, but dunno if anybody wants to do that. _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
[SDL2][WINRT]OnScreenKeyboard |
ArtemMetra
|
Thanks for the answers. Gesendet: Samstag, 16. April 2016 um 02:40 Uhr Von: "Sik the hedgehog" An: Betreff: Re: [SDL] [SDL2][WINRT]OnScreenKeyboard
2016-04-15 19:17 GMT-03:00, DLudwig: > It's been a while since I've checked though. If someone wanted to do some > research into that, it'd be a very big help on my end. I recall the problem being the app doesn't really have control over the keyboard - it only appears when some sort of text input control gets focus. It sounds like it should be possible to take the ugly way and create a dummy control just to show/hide the virtual keyboard, but dunno if anybody wants to do that. _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||
|
DLudwig
|
On second look, it looks like Microsoft might've added an API for this to Windows 10 (via the Windows::UI::ViewManagement::InputPane class), one that seems like it allows the OS' on-screen keyboard to be displayed in CoreWindow/Direct3D apps.
I can plan on seeing if this works at some point over the next few weeks, but make no guarantees. -- David L. |
|||||||||||
|
Re: [SDL2][WINRT]OnScreenKeyboard |
DLudwig
|
On-screen keyboard is now in SDL2/HG, as of a change pushed out earlier today ( https://hg.libsdl.org/SDL/rev/0f89301aae00 ). Support is limited to apps built for Windows 10 (i.e. UWP apps). It uses Win10's InputPane class ( https://msdn.microsoft.com/library/windows/apps/br242255 ), behind the scenes. Cheers! -- David L. |
|||||||||||||
|