Jump to content
The simFlight Network Forums

nolson43

new Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by nolson43

  1. Hi Pete, Sorry, by custom event I meant something that they are handling completely internal to their gauge (they are picking up the mouse click and then doing a bunch of stuff). They are not registering any actual custom events that I can hook into any other way, so that's why I'm looking at the mouse macro solution I'm running in a client/server mode where I've got all my hardware running into my 'client' machine where I then process everything and then send values/commands to Prepar3d via SimConnect on the 'server' machine. So, it can't be an actual keypress or joystick input that ends up firing the macro, but something that I'm sending remotely. Since there are no custom event hooks, I can't do this via SimConnect and need another solution. While I am a programmer, I'm not a Windows programmer and this will be my first forray into FSUIPC, so I want to make sure I'm heading down the right road with this as a solution before I invest the time into implementing just to find out I can't do what I need to do. Anyway, I think offset 0D70 should be exactly what I need since I know the macro does do what I need it to do, so I really just need to fire it off from my 'client' machine. Thanks for your help
  2. Here's what I'm trying to accomplish. I've got a third party aircraft that contains a custom gauge. Within the gauge a custom event is fired with a mouse click. I need to emulate the mouse click through FSUIPC (I've got a hardware input that I need to use to fire the event). What I've gotten to work is assigning a mouse macro to a keystroke (ie, I press 1 and the proper event gets fired). Where I'm stuck is figuring out how to send the 1 keystroke. The docs say that the full 12 bytes must be sent, but I can't figure out how to translate the 1 to the 12 bytes. I've found that the keystroke 1 has a value of 49, but how does that get translated into a 12 byte value? I guess what my question boils down to is, if I want a keystroke of 1 to be sent, what value would I set the 3200 offset to? Thank you.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.