But when I run applications under SDK_PC in either Xephyr or Xnest, the keyboard behaves really strange: 1) big enter button on hardware keyboard doesn't make carriage return but hides/unhides the virtual keyboard. Enter button from the NumPad works normally, but it is a bit cumbersome to use it instead of big one.
2) If I switch from Xephyr to any other application with Alt-Tab on the hardware keyboard and than back to Xephyr, the physical keyboard stops to enter letters completely.