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.

Small App - Version 2

Featured Replies

Folks,Version 2 of the small keyboard mapping application is now available in the file archives. As with the original application, this app will let you assign a single keystroke to be mapped to a keystroke sent to any application - useful for using hacked keyboards with home built cockpits.Version 2 allows key-sequences to be assigned to a single key press - so for example, the key sequence "ABC" that must be sent to App1 can now be triggered by pressing (say) just the "a" key.In addition, these key sequences can be triggered from a joystick button. I am using this to send the transmit code to RogerWilco from a joystick button. Actually, the app will allow you to monitor any windows message, and use it to trigger the key sequence (as such, it is possible in principle to monitor any app for any event and start some new sequence of events based on it.)Where is this all going? Well, I'm trying to build a framework onto which custom modules can be grafted. This will allow you to build additional functionality into your cockpit. Here's an example: One of the things I want is a realistic engine start sequence. So, using my event framework, I have a module that traps the engine-start switch. This then runs some custom code that allows all the pertinent checks and systems to be run (do we have hydraulics, bleed etc). If so, this module will send the appropriate message to FS.Anyway, enough ranting - the app is available, its pretty flexible, so feel free to play with it. Comments always welcome. And remember, this app has uses evenif you're not building a full-blown cockpit.RegardsDave T

  • 2 weeks later...

Dave, I'm sorry I didn't get the name of your application. I think this is a great way to assign multiple keystokes to one key. I would like to play wiht it if you could direct me to the file name. Thanks for taking the time to write the code and be willing to share.Rich

Hi RichDo a search on the library for KeyDirect* There are 2 versions, the first is keyboard only, the second supports keyboard and juystick (and actually anything that generates a hookable Windows message)Any problems/comments, feel free to drop me a line at [email protected] the way, version 3 is close to completion. V3 will allow an event on one machine to transmit the event to another remote machine so that if you press a key on Machine 1, you can direct the result to another machine across the network.RegardsDave T

Hi, is it possible to ad a feature in wich we could choose to have key repeat enable or not?If we hit a key several times, it would send only one comand to the application we want to?thanks,Pedro

Dave , Thanks, I found both versions after doing a search. I will be trying them out shortly. Thanks for the offer of support, I'll let you know if I get into trouble.Rich

Hi Pedro,There is an entry in the KeyDirect.ini file (version 2 only) called "JoyRepeatInterval". This entry controls how often a message can be processed. Its in milliseconds. So, if you want to hold a key down for 30 seconds, but only have keydirect process it a maximum of every 5 seconds, you would set this value to 5000. Each time KeyDirect sees an event, it checks to see if the same event has occured within the last nn milliseconds. If it has, it ignores the event. The value is global, so you cant have one event occur every 5 seconds, and another every 2 seconds (unfortunately - maybe I'll add this ability??)Hope this helpsDave T

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.