Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

How to detect keyboard language ?

MK4MK4 Posts: 5Member
I have a question....I want to detect the keyboard type without relying on the driver and was wondering if it is possible to do this with the ID command to the keyboard controller ?
If so, is there a list with responses somewhere and the matching language/keyboard type ?
Or is there another way I can identify the keyboard language/type (btw it doesn't have to be a USB keyboard and most likely it won't be one so USB identification won't help me much :) )

Comments

  • ibyiby Posts: 323Member
    : I have a question....I want to detect the keyboard type without relying on the driver and was wondering if it is possible to do this with the ID command to the keyboard controller ?
    : If so, is there a list with responses somewhere and the matching language/keyboard type ?
    : Or is there another way I can identify the keyboard language/type (btw it doesn't have to be a USB keyboard and most likely it won't be one so USB identification won't help me much :) )
    :


    I'm not quite sure what is the question. Keyboards are piece
    of hardware that has no idea if english, german or whatever
    language it is used for. The keys are just labeled to match
    standard of particular country but it's still the keyboards
    that is sold all over the world. What makes the difference
    is language setting you install (each OS is asking during
    installation what country settings to use). Asking keyboard
    what country settings are used is not gonna bring you to result
    all keyboard does is send scan codes and toggles the 3 LED
    indicators when asked to do so. It is the driver that does
    the work and converts scans to ascii or ansi codes.
    You have to check with the OS to find the what settings are used.
    To do so you might have to check first which OS is running
    and what version. Hope this helps...


    Iby


  • MK4MK4 Posts: 5Member
    : I'm not quite sure what is the question. Keyboards are piece
    : of hardware that has no idea if english, german or whatever
    : language it is used for. The keys are just labeled to match
    : standard of particular country but it's still the keyboards
    : that is sold all over the world. What makes the difference
    : is language setting you install (each OS is asking during
    : installation what country settings to use). Asking keyboard
    : what country settings are used is not gonna bring you to result
    : all keyboard does is send scan codes and toggles the 3 LED
    : indicators when asked to do so. It is the driver that does
    : the work and converts scans to ascii or ansi codes.
    : You have to check with the OS to find the what settings are used.
    : To do so you might have to check first which OS is running
    : and what version. Hope this helps...
    :
    :
    : Iby
    :
    Well, first of all, the keyboard controller can identify itself (I think $f2 to port $60 but not sure...) and I was wondering if maybe part of that is also the keyboard language because a friend of mine told me Windows 2000 recognizes the keyboard language (I am not sure of that, but thought if it is possible I want to know how..lol)


Sign In or Register to comment.