Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#215 Hungarian 102-key layout

open
c2woody
None
5
2012-09-07
2009-01-22
etillite
No

Dosbox can select automatically host-matching keyboard layout under Windows.
The selected layout for hungarian language is 'hu' instead of 'hu208'.

'hu' is a layout based on 101-key qwerty keyboard.
The standard hungarian keyboard has 102-key and qwertz layout.
'hu208' is a layout based on the standard keyboard.

Patch is attached.
It enables the 102-key layout as default and add ability to automatically choice between 101 and 102 key layouts.

Discussion

  • etillite
    etillite
    2009-01-22

     
    Attachments
  • etillite
    etillite
    2009-01-28

    The code in cvs works incorrectly. It selects layout pl214 instead of hu208 or hu because '040E' is recognized as '0415'. Probably the code converting layoutID_string to int is not correct for hexadecimal numbers A-F. Maybe using function ConvHexWord is a solution.

     
  • c2woody
    c2woody
    2009-02-01

    Thanks, you're right, full hex translation should be used.

     
  • etillite
    etillite
    2009-02-19

     
    Attachments
  • etillite
    etillite
    2009-02-19

    New patch layout_switch.diff. It corrects non-standard additional keyboard layout loading and switching a bit.