Jump to content

basilbakerst

Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Posts posted by basilbakerst


  1. I was playing around with this mod yesterday, and I found that aside from the mapped A, E, and R keys, no other keyboard inputs (i.e., pause, zoom, etc.) will work. I unpacked the .pbo to take a look and found that a few lines will fix this issue. The keyEventD function can be modified as follows (NOTE: I only included what needs to be added/changed with its placement in the function as opposed to the entire function):

    keyEventD =

    {

    private ["_handled",...

    _handled = false;

    ...

    switch (_KeyCode) do

    {

    case Apu_Flir_key_rev:

    {

    ...

    _handled = true;

    };

    case Apu_Flir_key_inc:

    {

    ...

    _handled = true;

    };

    case Apu_Flir_key_dec:

    {

    ...

    _handled = true;

    };

    };

    _handled;

    };

    This way any keyboard input that is not FLIR-specific will be handled in the default manner.

    Adam

×