Workaround for a regression of JP keyboard detection #663

caused by 9c31bd5.  This is not a complete fix but just a workaround
because keylayout value of Japanese keyboard can be other than these
4 values. This workaround still doesn't cover all JP keyboards.

  - 0x00000411
  - 0xe0010411
  - 0xe0200411
  - 0xe0210411

Looking for `0411` in lower 16 bits is enough to detect JP keyboards.
master
Koichiro IWAO 8 years ago committed by metalefty
parent f8d22ce673
commit 2424a9c020

@ -62,6 +62,9 @@ rdp_layout_de=0x00000407
rdp_layout_fr=0x0000040C rdp_layout_fr=0x0000040C
rdp_layout_it=0x00000410 rdp_layout_it=0x00000410
rdp_layout_jp=0x00000411 rdp_layout_jp=0x00000411
rdp_layout_jp=0xe0010411
rdp_layout_jp=0xe0200411
rdp_layout_jp=0xe0210411
rdp_layout_kr=0x00000412 rdp_layout_kr=0x00000412
rdp_layout_ru=0x00000419 rdp_layout_ru=0x00000419
rdp_layout_se=0x0000041D rdp_layout_se=0x0000041D

Loading…
Cancel
Save