Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SimConnect Shift / Ctrl Key Combination?

Featured Replies

Is there a way to detect key combinations when using SimConnect?

 

I'm looking though the Keyboard Key Strings page in the SimConnect SDK on the MS site and I see Shift and Tab but I can't seem to put these together to get a Shift_Tab detection.

 

Is there a trick to using key combinations?

 

SHIFT_TAB does not work. SHIFTTAB does not work.

hr = SimConnect_MapInputEventToClientEvent(hSimConnect, INPUT0, "SHIFT_TAB", EVENT3); 

Thank you for any help...

 

Ralph Freshour

www.GMTPilots.com

The SDK has  this example:

 

// Ctrl, shift, lower case a, has been hit
hr = SimConnect_MapInputEventToClientEvent(hSimConnect, INPUT_1, "shift+ctrl+a", EVENT_2);
...
For the keyboard the input definition can include a maximum of two modifiers (Shift, Ctrl, Alt) and two keys (case sensitive).
It's always  worth reading the SDK before asking for help.

Gerry Howard

  • Author

Hi Gerry

 

Believe me, I have been digging into the SDK to find that answer...thanks very much for your reply and help.

Ralph Freshour

www.GMTPilots.com

You make my point foe me that you haven't been digging into the SDK.

 

The SDK SimConnect API Reference has a section that  lists all the API functions, including SimConnect_MapInputEventToClientEvent. It then provides a lkink to details beginning how to use it begining with "The SimConnect_MapInputEventToClientEvent function is used to connect input events (such as keystrokes, joystick or mouse movements) with the sending of appropriate event notifications".  this includesollows full details on how to use it - including key strokes. Surely that's what you should read to begin..

 

As I said, it's always  worth reading the SDK before asking other to read it for you..

 

 

Gerry Howard

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.