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

  • SEARCH
  • Home
  • 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 8801779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:55:20+00:00 2026-06-14T00:55:20+00:00

I am hooking a USB remote up to my software, and need to register

  • 0

I am hooking a USB remote up to my software, and need to register global hotkeys to work with it. I have the code in place, and it is working as expected, but when I hook the remote up, I found that it requires a specific Left or Right Alt when dealing with the modifier keys.

In other words, right now I have the global hotkey set up to accept ALT + SHIFT + 0 to run a specific function. When I hooked the remote up, I realized that their mapping requires the specific Key modifier to be identified. Thus, I need to search specifically for L-ALT + L-SHIFT + 0. I have searched for these modifier mappings, but have not been able to find anything that says what they are. I have only been able to find the modifiers for the general ALT key rather than the specific L-ALT modifier.

Currently, I have my keys defined as such:

    public const int NOMOD = 0x0000;            //  No HotKey
    public const int ALT = 0x0001;              //  ALT
    public const int CTRL = 0x0002;             //  CTRL
    public const int SHIFT = 0x0004;            //  SHIFT
    public const int WIN = 0x0008;              //  WIN button
    public const int WM_HOTKEY_MSG_ID = 0x0312; //  Windows message ID for HotKey

I have tried to find a mapping for what the code would be for L-Alt, L-CTRL, and L-Shift, but have been unsuccessful. They don’t seem to be ASCII. Does anyone know the correct codes for these, or where I can find them? Thanks.

  • 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-06-14T00:55:21+00:00Added an answer on June 14, 2026 at 12:55 am

    I typed Keys and hit F12 to go to the definition and it has left alt and right alt listed as LMenu and RMenu with the values of 164 and 165. Does this help you or am I totally looking in the wrong place.

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

Sidebar

Related Questions

I want to develop simple tweak for hooking uitextfield or uitextview. My have code
I was hooking few functions in my code and it was working pretty code
I'm currently working on a project that involves a significant amount of hooking and
I have a WPF app that is using the MVVM pattern. Hooking up buttons
I have the following directory structure : /script/x.js /includes/x.txt /1/2/index.html After hooking a webpage
This question is related to hooking with Mobile Substrate, but as long as you
Does anyone know about system-wide API hooking with Delphi? I downloaded madCodeHook, but it
I've been working through the Stanford iPhone Coding course and currently hooking into the
I'm using the following project to handle global keyboard and mouse hooking in my
I am hooking the window.onbeforeunload event in an aspx page. I need that not

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.