Archive talk:Keyboard Internationalisation

From Official Kodi Wiki
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sounds good on the whole, but there is another level of problems: We actually have 3 separate input classes:

XboxKeyboard.cpp - uses the XDK's inbuilt support for keyboard. This is what is used on XBox.

DirectInputKeyboard.cpp - uses DirectInput on win32. This is used in the Win32 build (tools/Win32).

SDLKeyboard.cpp - uses the SDL keyboard interface. This is used on Linux (which hopefully will also build on Win32).

Thus, we have different solutions needed in different circumstances.

Your solution still applies, but we must make the conversion consistent across multiple platforms.

eg DIK_A is only defined in directinput. There is a similar definition in SDL, and in the XDK.

Cheers, Jonathan

Yes, you are right. Hmm, XBoxKeyboard ...

Current discussion now at: http://www.xboxmediacenter.com/forum/showthread.php?t=26796