Hi all
Example:
Code:
If InitSprite() = 0 Or InitKeyboard() = 0
MessageRequester("Header Error", "Can't open DirectX 7 or later", 0)
End
EndIf
If OpenWindow(0,0,0,300,200, "bug test",#PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_TitleBar | #PB_Window_ScreenCentered)
If OpenWindowedScreen(WindowID(0),0, 0, 300,200,0,0,0 )
noquit=1
While noquit
we.l=WaitWindowEvent()
ExamineKeyboard()
If KeyboardPushed(#PB_Key_Escape)
noquit=0
EndIf
key.s=KeyboardInkey()
If key<>""
Debug "Key: " + key +" ("+Asc(key)+")"
EndIf
Delay(1)
Wend
EndIf
EndIf
End
It is easy to check by adding, for example, a Russian layout and open the "on-screen keyboard"

the work of the KeyboardInkey () function also affects the work of other 3d gadgets, where input in other languages is required