Archive talk:Keyboard Internationalisation: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Jmarshall
(New page: 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...)
 
>Webbanane
No edit summary
Line 15: Line 15:
Cheers,
Cheers,
Jonathan
Jonathan
Yes, you are right. Hmm, XBoxKeyboard ...

Revision as of 21:58, 6 June 2007

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 ...