Jump to content
The simFlight Network Forums

mtjoeng

Members
  • Posts

    223
  • Joined

  • Last visited

Posts posted by mtjoeng

  1. I have made good progress. Please see the Sticky above about VRInsight users.

    Great News! :D (I'm running MCP combo (FSX/DBS BS/Lomac) with a windows7 64 box, which is about (not quite, I wish) your setup, as Ive read somewhere, so not much use here)

    to add to my first post: another problem you might come accross is a - unresolved - Windows Regional Settings bug

    the 'modifiers' that DBSBS/Lomac use - a button/key that adds a pre-keycode to buttons (like FSUIPC 'conditional' button), so they'll double up - has a bug - in such a way that in my 'standard' Windows7x64_US, no Modifiers can be used for the MCP via SerialFP2, i.c.

    the KeyCommand will NOT transmit (or Receive/Decode?) SHIFT or CTRL (or ALT?)

    f.i. in DCS Black Shark, instead of Altitude hold [LSHIFT + A]

    it will only transmit [A] (Weapon system control switch Manual/Auto)(Module = SFP2_MCP_KeyCmd.dll)

    at tech@VRInsight they said they'd 'fixed' this by writing a .dll that Will accept RightModifiers (not) like Rshift, Rctrl and 'just change your assignments'

    problem is, - in my case - DCS' SerialFP2's DLL will not accept any modifiers, so I'm stuck with freeing all single Key commands, and reassign them to my MCP commands

    I'd like to mention this, because I saw comfirmation on the www, that appearantly another flight game (forgot which) had the same 'Regional Settings' issue (seems to stem from a mix of Russian region and Korean region from the developers, and the Type of keyboard chip is used) and they had 'solved' this because they had identified the bug and by rewriting their driver, this was solved. Well, with DBS Black Shark/Lomac vs. MCP Combo, it appears, this is not the case that I know of, and I'm stuck with non-modifier keystrokes.

    So, please, if you can, have a lookout for this disturbing bug (I just realized, you find your code by sort of 'Reverse Engeneering' the actual dataflow, so you might alltogether avert this whole issue) , so that it will not pop up in your work, thx, mt

  2. Yes, I can see it's a bit of a mess if you want to do anything sophisticated. I will get to it, I just cannot promise when, nor even what I can do. The idea that each unit needs special handling puts me off a bit. If it looks like I can unify things, then maybe.

    Well if you're looking into it, there's hope :D

    Actually, when I read back VRInsight's 'volunteer'(!) webmasters posts, a wild guess concerning the bussiness model of the VRInsight is; a couple of south korean hardware technicians that thought they could drill a market, when 1 of them was flying FS in the basement, and the other one's neighbour found a like new ASML chip bake machine in the junk yard and could have use of an abandoned forge of his uncle, and after some sleepless nights, voila, the MCP Combo was born, running on Korean assembly code only (it's a Steve Jobs parable).

    Their - native english - webmaster is English, the software programmer supposedly Dutch, as if found by VRInsight on their very first exhibition of the prototype.

    I bet they will bent over backwards to cooperate with anything you'll ask them :idea: , Korean style, and politely so, because you're the iconic expert (perhaps they will send you women also :D, like the Emeror send to the Mongols across the Wall).

    I hope you'll do, because the thought alone of assigning again for the new LOMAC (I use an excel spreadsheet to document), gives me a headage allready :twisted:

  3. I asked about this a very long time ago, but never got it resolved

    in the FSX list of PANEL_ID's, there is a

    MINI_CONTROLS_PANEL with id value: 100

    But, this seems to be for a nondefined 'default' minipanel (old round clocks) perhaps? (or it does nothing?)

    f.i. Beech King Air has a

    Ident=MINIPANEL

    defined in its panel.cfg, and now, this one, I cannot call with parameter '100' (i.e. C66506, 100)

    entering the asci "MINIPANEL' in the parameter field resets itself back to '0'

    changing the Ident= to f.i. Ident=9999, and calling parameter 9999 rather disables the minipanel

    can't find anything anywhere, have now posted on fsdeveloper.com also

    because it's really bugging me :evil: , well sort of :D thx , mt

  4. search poster guenseli examples:

    Lvars LUA:

    ipc.writeLvar("L:pmdg_hide_yoke", 0)

    ipc.writeLvar("L:pmdg_hide_yoke", 1)

    ipc.writeLvar("L:HIDE_OVERHEAD_SWITCHES_var", 1)

    or

    button example '66587' = ROTORBRAKE , PMDG ND Map Mode selector for dial button:

    110=117,26,x510066C0,x00040001 ;ND Mode increase start 117,26 Ctrl+Tab+F6

    111=B66C0=0 117,26,66587,71132

    112=B66C0=1 117,26,66587,71133

    113=B66C0=2 117,26,66587,71134

    114=B66C0=3 117,26,66587,71135

    115=B66C0=4 117,26,66587,71136 ;ND Mode increase end

    116=115,26,x610066C0,x00040001 ;ND Mode decrease start 115,26 Ctrl+Tab+F4

    117=B66C0=0 115,26,66587,71132

    118=B66C0=1 115,26,66587,71133

    119=B66C0=2 115,26,66587,71134

    120=B66C0=3 115,26,66587,71135

    121=B66C0=4 115,26,66587,71136 ;ND Mode decrease end

    for a regular button this would be:

    110=117,26,66587,71132 (button,button,rotorbrake,one-of-the-parameters)

    mt

  5. hi

    testing

    [Auto.PMDG747-400]

    1=Lua pmdg747setview

    in my ini

    It's not working

    Lua does a reset_view for my pmdg 747, that is pointing to low in panel view, and issues a 66147 VIEW_RESET or/and ctrl-space

    filename is pmdg747setview.LUA containing:

    -- reset view 66147 VIEW_RESET

    ipc.control(66147)

    ipc.keypress(90,13)

    when I (re)load the pmdg747, no View_reset is done

    tried

    1=Lua pmdg747setview.lua

    and - of course - the seperate lines

    ipc.control(66147)

    or

    ipc.keypress(90,13)

    so what am I missing? thx mt

  6. hi

    when I edit/change the ini (not when I cancel) and reload, after I exit fsuipc, - sometimes? some planes? PMDG 747 - my flaps or throttle gets moved

    I tried the DontResetAxes=Yes

    but, cannot really see if this helps becouse Fsuipc changes DontResetAxes=Yes back to No as soon as it does a write

    ?

    or am i missing something

    thx, mt

    FSX

    FSUIPC4549

    Win7

    [later]

    dont think this is a proper use (test?) of DontResetAxes, but anyways, it will change, which probably it is not meant to do?

  7. hi

    found with logger:

    66587,74070 ; PMDG747 Autobrake Dial Left

    66587,74071 ; PMDG747 Autobrake Dial Right

    so Shft-Tab-L:

    210=76,25,x510066C1,x00040001

    211=B66C0=0 76,25,66587,74071

    212=B66C0=1 76,25,66587,74071

    213=B66C0=2 76,25,66587,74070

    214=B66C0=3 76,25,66587,74070

    twice to the right, then twice to the left? Not, does 4x to the right

    tried this with Mouse Macro's values

    RXf330*X56cc Left

    RXf330*X56cc,31 Right

    but the syntax of this isnt right:

    210=76,25,x510066C1,x00040001

    211=B66C0=0 76,25,RXf330*X56cc,31

    212=B66C0=1 76,25,RXf330*X56cc,31

    213=B66C0=2 76,25,RXf330*X56cc

    214=B66C0=3 76,25,RXf330*X56cc

    (can this be done with mouse macro's values?)

    any help? thx, mt

  8. I would really like to make use of this but

    1. my FSUIPC window has an Extras (Miscellary) checkbox under Lua program logging (I'm using version 4.549) / shouldnt matter, should it?

    I have Lua's installed in the \modules, load my MD-11, check the boxes, have the console screen

    see the typical PMDG

    454852 *** EVENT: Cntrl= 65709 (0x000100ad), Param= 67648 (0x00010840) NAV2_RADIO_SET

    457910 *** EVENT: Cntrl= 65709 (0x000100ad), Param= 67648 (0x00010840) NAV2_RADIO_SET

    460968 *** EVENT: Cntrl= 65709 (0x000100ad), Param= 67648 (0x00010840) NAV2_RADIO_SET

    etc

    push the WPT button on the MD-11 panel, and then: Nothing

    no 66587 no 71128 no ROTOR_BRAKE

    ?

    what went wrong?, mt

    P.S.

    my

    DontResetAxes=Yes

    keeps be rewritten at every (auto) save of fsuipc to

    DontResetAxes=No

    I just noticed

    ??

  9. me very embarrassed :oops: :oops: :oops:

    good news, good news & embarrassing news

    Shift-Tab needs to be 25 in fsuipc.ini, checked and correct

    Shift-Tab needs to be 13 in LUA, checked and correct

    first time I ever started a Button Log and said: "675172 LUA: "pmdg747cargodoor.lua": not found"

    that was a surprise because my LUA was named "pmdg747cargodoors.lua"

    then I put my glasses on and saw it was 1 character too long for fsuipc (same in the dropdown, 'door'),

    changed it to "pmdg747cargodoor.lua", et voila, 3 cargo doors open

    much obliged, mt

  10. emulate mouse interactions .. not like your mouse macros at all .. the panel has to be in view

    - unfortunately - lots of times, this defeats the purpose

    Some of the functions on the panels can send two different commands on the one button .. some of the dials can have two different commands assigned to them, but they will always cycle .. they appear as push 1 and push 2 in the assigning software.

    'they appear as push 1 and push 2 in the assigning software' is for ALT SPD and HDG and a Hardware 'state 2' of the dial (shows an *-asterix on the LED in this state - and this seems not documented), and is not what is meant in 'FSUIPC-speak' with 'can the button send multiple commands'. They can Not (in the present interface, called 'serialFP2').

    pleasantly surprised, Pete, you can have a look at the SDK

    present SDK seems to invite manufacturers to assign specific commands to Buttons and Dials.

    That's not good.

    We (tout le monde, of course ;) ) want Any command (and fsuipc mouse macros) be asignable to Any dial or button (and more! Pigs Can Fly)

    cheerio

    mt

  11. It would be far easier to do with a button. .. Do you really want to control this aircraft with keyboard? .. you'll need to have some way of being sure not to press real keys whilst the Lua program is doing its stuff.

    it's my VRInsight MCP Combo, all its buttons can only be programmed by keystrokes, so that makes it 'a keyboard'

    there's no HID interface for the VRInsight MCP Combo, with its 50+ buttons and some dials,

    the manufacturer says with so many buttons and dials, it ran off the specs of windows Joysticks definition

    then on top, the PMDG Doors etc. also can only be interacted with by keystrokes, hence the issue

    didnt know there's a whole electonic pulses issue behind this, figures after you hear of this

    perhaps I'm overlooking something or else

    I guess I am sort of stuck, and use 1 door > 1 button

    when you can think of some way to try, of course I like to hear

    thx, mt

    [later]

    hum, found key 'V' isnt used for anything in FSX, I'll try with shorter keystrokes

  12. [LuaFiles]

    2=pmdg747cargodoor

    pmdg747cargodoors.LUA :

    ipc.keypress(52,25)

    sorry about the "KeyPressPlus", now changed to "KeyPress"

    [Keys.PMDG747-400]

    18=90,25,L2:R,0

    PMDG_747-400_Kbd.ini :

    Cargo Fwd SHIFT+TAB+4

    thus

    SHIFT+TAB+Z should run pmdg747cargodoors.LUA

    pmdg747cargodoors.LUA presses SHIFT+TAB+4

    SHIFT+TAB+4 opens the CargoFwdDoor (that is does on its own)

    doesnt

    ?

    the purpose of this exercise is to fill the Lua with

    ipc.keypress(52,25)

    ipc.keypress(xx,25)

    ipc.keypress(xx,25)

    that opens 3 or any amount of doors (the pmdg has a lot of them)

    mt

  13. hi

    i'm stuck here

    in my FSX

    [Keys.PMDG747-400]

    16=72,25,M9:8,0

    17=221,25,L2:R,0

    '25' is registered for Shift+Tab (221 = ']')

    in pmdg Keyboard my - test - cargo door is

    Cargo Fwd SHIFT+TAB+4

    and works

    I want more doors to open with 1 button, so I put this in a Lua, and test a Lua with 1 door first

    starts the problem

    how comes that Shift+Tab = '25'?

    Advanced FSUIPC doc:

    '1 Shift

    4 Tab

    8 Normal (add this in anyway)'

    Shift+Tab adds up to '13' ?

    [LuaFiles]

    1=log lvars

    2=pmdg747cargodoor

    my lua (L2) file pmdg747cargodoor.lua contains 1line:

    ipc.keypressplus(52,25) -- Cargo Fwd SHIFT+TAB (25/13?) +4 (52)

    neither value 25 or 13 does anything

    is assigned to Key 17=90,25,L2:R,0

    90 = shft+tab+Z, and 'lua pmdg747cargodoor' selected from the dropdown

    what am I missing?

    thx mt

    FSUIPC 4549

    FSX

    pmdg747x

    windows 7 x64

  14. Saitek TQ's must be calibrated the way I did it the second time. They can not be calibrated like CH TQ's because of the built in detente at the bottom. In FSUIPC, you can't set the bottom value at that detente, you have to set it just above the detente./quote]

    you can (should?) calibrate at top and 'bottom'

    the indent 'below' the 'bottom' of a Saitek is a Switch

    I use this to define Reverse ('hold F2', cut 'F1 when released')

    so there's no gradual reverse, unlike CH

    mt

×
×
  • 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.