CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2004
    Location
    Poland
    Posts
    1,165

    Mapping keyboard keys

    Does anyone of you know application or a way (i can write a program by myself, just do not know how) which would allow me to remap keys in any way I want? Let's say that having QWERTY keyboard I have key [ with shifted { and I watn to reverse the case of this particlar key, since much more often I use { character than [ one. Or I want to reverse the case of whole row with digits, to have easy access to characters like &, # and @, and I usually use digits on numeric part of keyboard. And I want to excgange the places of \| key and /? key.

    Thanks for any hints
    Hob
    B+!
    'There is no cat' - A. Einstein

    Use [code] [/code] tags!

    Did YOU share your photo with us at CG Members photo gallery ?

  2. #2
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,150

    Re: Mapping keyboard keys

    Maybe you can install a low-level-keyboard hook to translate those keys.
    See SetWindowsHookEx
    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured