Search found 4 matches
- 03 Sep 2021, 15:56
- Forum: Cockpits, usage examples
- Topic: HIDMacros and Lvar
- Replies: 7
- Views: 12287
Re: HIDMacros and Lvar
Well, I never did hear back from grizzly. Perhaps he's moved on. I found a way to use HIDMacros and Lvars; here goes: 1) After a key or button is selected, in the script tab write something like this: HIDMacros.SetFSUIPCInt &H4e0, 2, 1 This will put the value of 1 into the offset 04E0 (an unused Pro...
- 23 May 2019, 18:26
- Forum: Cockpits, usage examples
- Topic: HIDMacros and Lvar
- Replies: 7
- Views: 12287
Re: HIDMacros and Lvar
Hello. I'm interested in HIDMacros and LVar's. Could you please post an example? Thanks.
- 23 May 2019, 18:19
- Forum: Cockpits, usage examples
- Topic: VB Script logic
- Replies: 1
- Views: 3939
Re: VB Script logic
Okay. I solved my own issue. It is:
isPaused = HIDMacros.GetFSUIPCInt(&H262, 2)
HexPause = Hex(isPaused)
if HexPause = 0 then
HIDMacros.SetFSUIPCInt &H262, 2, 1
end if
if HexPause = 1 then
HIDMacros.SetFSUIPCInt &H262, 2, 0
end if
isPaused = HIDMacros.GetFSUIPCInt(&H262, 2)
HexPause = Hex(isPaused)
if HexPause = 0 then
HIDMacros.SetFSUIPCInt &H262, 2, 1
end if
if HexPause = 1 then
HIDMacros.SetFSUIPCInt &H262, 2, 0
end if
- 22 May 2019, 13:36
- Forum: Cockpits, usage examples
- Topic: VB Script logic
- Replies: 1
- Views: 3939
VB Script logic
Hello. I have HIDMacros and FSUIPC (FS9) working in a basic manner. I can individually send, using separate keys. For example: To pause FS9: Using kbd2, 186(;) HIDMacros.SetFSUIPCInt &H262, 2, 1 OK To unpause FS9: Using kbd2, 222(') HIDMacros.SetFSUIPCInt &H262, 2, 0 OK Then I tried this: Dim isPaus...