Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4048026
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T13:45:55+00:00 2026-05-20T13:45:55+00:00

I’m interested in extending the keys on the Windows keyboard (specifically – but not

  • 0

I’m interested in extending the keys on the Windows keyboard (specifically – but not necessarily limited to – Windows 7). Currently I can use the keys available here in my C# application:

http://msdn.microsoft.com/en-us/library/system.windows.forms.keys(v=vs.71).aspx

What I’m interested in doing is extending the available keycodes so I can tailor them to my particular (programmable keyboard) hardware, and then be able to register these in my C#/DirectX applications. I know it is possible to create hotkey combinations, but I’d like to explore this option first. My questions are:

A) is this approach completely crazy?

B) if A == false: has anyone had any
practical experience with this. Can
you recommend any good
keywords/tutorials that I should be
looking at?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T13:45:56+00:00Added an answer on May 20, 2026 at 1:45 pm

    It is my understanding that Windows only accepts mouse/keyboard input based on the Keys enumeration (Virtual-keys in the unmanged world: http://msdn.microsoft.com/en-us/library/dd375731(v=vs.85).aspx). This makes your option A impossible to do on Windows.

    As a concrete example Windows only has codes for five mouse buttons (LButton, RButton, MButton, XButton1, XButton2) but you can purchase a mouse that comes with more than five buttons. New virtual-key codes for the extended buttons cannot be created on the fly. To get around this limitation mice like this come with software that allows you to program what a press of each button does. Generally you’ll find options to bind the extended buttons to a single press of some other virtual-key code or even write more complex macros that combine multiple key presses.

    In your application the best you will be able to do is ensure that you properly handle the full range of values (and modifier combinations) from the Keys enumeration. Then program your keyboard appropriately. This may mean taking advantage of some of the extended virtual-keys like BrowserForward to make a larger set of virtual-key codes immediately available or generating more complex macros to enter a quick succession of virtual-key codes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want use html5's new tag to play a wav file (currently only supported
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I am trying to understand how to use SyndicationItem to display feed which is
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
Specifically, suppose I start with the string string =hello \'i am \' me And
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I need to clean up various Word 'smart' characters in user input, including but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.