SDL 2 - keyboard focus on Windows 8.1 PC

Hi,

Using SDL2-widgets together with SDL 2.0.4 I can’t get any keyboard events.

Assuming this is a focus problem I tried constructing XAML controls as
swapChainPanel children that stretched over its entire area, or the other
way around, make the swapChainPanel a child. No matter what configuration,
the application behaves exactly the same, and gets only mouse events.

What could be the problem and what could I have missed about using SDL2 on
Windows 8.1?

Thanks

Is it a problem specific to your widget library? Do the SDL test programs
have any issues? I haven’t heard of missing keyboard input on any platform.On Fri, Oct 17, 2014 at 2:09 AM, Alex D?nil? <alex.danila at gmail.com> wrote:

Hi,

Using SDL2-widgets together with SDL 2.0.4 I can’t get any keyboard events.

Assuming this is a focus problem I tried constructing XAML controls as
swapChainPanel children that stretched over its entire area, or the other
way around, make the swapChainPanel a child. No matter what configuration,
the application behaves exactly the same, and gets only mouse events.

What could be the problem and what could I have missed about using SDL2 on
Windows 8.1?

Thanks


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Alex D??nil?? wrote:

Assuming this is a focus problem I tried constructing XAML controls as swapChainPanel children that stretched over its entire area, or the other way around, make the swapChainPanel a child. No matter what configuration, the application behaves exactly the same, and gets only mouse events.

What could be the problem and what could I have missed about using SDL2 on Windows 8.1?

Do you know which port of SDL you are using? Two exist for Windows: Win32 (for writing “desktop” apps, and apps that are compatible with pre-Win 8.x versions of Windows), and WinRT (for Windows Store apps).

Cheers,
– David L.

It’s the WinRT one. When I get access to the Windows machine I’ll check
the SDL test programs.

ThanksOn 10/19/2014 05:41 AM, DLudwig wrote:

Alex D??nil?? wrote:
Assuming this is a focus problem I tried constructing XAML controls as
swapChainPanel children that stretched over its entire area, or the
other way around, make the swapChainPanel a child. No matter what
configuration, the application behaves exactly the same, and gets only
mouse events.

What could be the problem and what could I have missed about using SDL2
on Windows 8.1?

Do you know which port of SDL you are using? Two exist for Windows:
Win32 (for writing “desktop” apps, and apps that are compatible with
pre-Win 8.x versions of Windows), and WinRT (for Windows Store apps).

Cheers,
– David L.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

-------------- next part --------------
A non-text attachment was scrubbed…
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20141019/87115290/attachment.pgp