IBM i Access Client Solutions

 View Only
Expand all | Collapse all

Mapping keyboard

  • 1.  Mapping keyboard

    Posted Wed July 05, 2023 09:47 AM

    How can I map a combination of keys (more than one) to a function? 

    For instance, how can I map shift and another key or keys?

    This issue it's not described anywhere.



    ------------------------------
    Carlos Herranz Rodriguez
    ------------------------------


  • 2.  RE: Mapping keyboard

    Posted Wed July 05, 2023 10:36 AM
    Edited by Greg Cornett Wed July 05, 2023 10:37 AM

    In Access Client Solutions, you can set keyboard functions at:

    Edit, Preferences, Keyboard.  On the Key Assignment tab, there is a drop down box.  Select Host Functions.  Click on the Host Function you want to map the key to, then click "Assign a Key".  You'll see a small note appear that says "Press A Key". Press whatever combination of keys you want to assign it to, and you'll see those keys are now displayed in the Key column.  Make sure you press the "Save" button to save your changes.



    ------------------------------
    Greg Cornett
    ------------------------------



  • 3.  RE: Mapping keyboard

    Posted Thu July 06, 2023 02:32 AM
    Edited by Carlos Herranz Rodriguez Thu July 06, 2023 02:32 AM

    I already did what you say, but the problem is that when I press the first key, it immediately assigns it without recognizing the next one, hence my question.

    Anyway many thanks for your reply.



    ------------------------------
    Carlos Herranz Rodriguez
    ------------------------------



  • 4.  RE: Mapping keyboard

    IBM Champion
    Posted Thu July 06, 2023 08:46 AM
    Edited by Satid Singkorapoom Thu July 06, 2023 09:03 AM

    Dear Carlos

    In the sample below, I select Field Exit (anyone still knows what Field Exit is for ? :-)  and click "Assign a Key" and then I PRESS AND HOLD ALT key first and then press F and it enters the assignment as shown below.  If you press the first key and release, it gets assigned right away without waiting for the second key.

    Are you using iMac or a Windows or Linux notebook? What I describe above is for a Windows notebook. I hope it works the same in other type of PC. 



    ------------------------------
    Education is not the learning of facts but the training of the mind to think. -- Albert Einstein.
    ------------------------------
    Satid S.
    ------------------------------



  • 5.  RE: Mapping keyboard

    Posted Fri July 07, 2023 07:52 AM

    Hi Satid, thank you for your reply.

    I am using a HP notebook on Windows 10, and I do that, I am trying remap SysReq function, clicking "Assign key" and then pressing SHIFT + ESCAPE, but for some unknown reason when I press SHIFT it doesn't let me press the ESCAPE key and just record the SHIFT key "Mayús (izquierda)" . 

    I think it can be something about the OS keyboard configuration, but it's really driving me crazy.

    Regards



    ------------------------------
    Carlos Herranz Rodriguez
    ------------------------------



  • 6.  RE: Mapping keyboard

    Posted Fri July 07, 2023 08:48 AM

    Try editing your AS400.kmp file with Notepad.  On my computer, it is located at:
    C:\Users\%username%\Documents\IBM\iAccessClient\Emulator

    S27 is the internal code for SHIFT + ESC.

    So, under the [KeyRemap] section, add the line:

    S27=[sysreq]

    Save the file, then re-start ACS if it is already running.  Hope this helps!



    ------------------------------
    Greg Cornett
    ------------------------------



  • 7.  RE: Mapping keyboard

    Posted Wed July 12, 2023 03:35 AM

    This is how I have remapped the function in the file.

    I'm still think the problem must be the laptop, but I still don't know where the problem could be.

    Anyway thank you for your help.



    ------------------------------
    Carlos Herranz Rodriguez
    ------------------------------



  • 8.  RE: Mapping keyboard

    IBM Champion
    Posted Mon July 10, 2023 04:02 AM
    Edited by Satid Singkorapoom Mon July 10, 2023 04:07 AM

    Carlos

    I try assigning SHIFT+ESCAPE and it works fine - press and hold SHIFT first and then press ESCAPE and then release both keys.  I use the latest release of IBM i ACS (1.1.9.2 - from 5250 session menu bar click Help --> About).  If you use lower release than this, I suggest you upgrade to this latest release.

    Please notice if your HP notebook's Escape key has any other function also? (My notebook's Escape key is a single function key.) If so, this may be the cause of your issue and you need to do a Google search on how to make your HP's Escape key work as Escape first before you start assigning the key.  



    ------------------------------
    Education is not the learning of facts but the training of the mind to think. -- Albert Einstein.
    ------------------------------
    Satid S.
    ------------------------------



  • 9.  RE: Mapping keyboard

    IBM Champion
    Posted Mon July 10, 2023 04:12 AM

    Carlos

    From my Google search, I find that HP notebook does have an issue with Escape key as you can see from this sample from HP Support web site "Esc key not working on laptop" at https://h30434.www3.hp.com/t5/Notebook-Hardware-and-Upgrade-Questions/Esc-key-not-working-on-Laptop/td-p/6407749.  If this one does not solve your issue, you need to do some more Googgle search or call your local HP support. 



    ------------------------------
    Education is not the learning of facts but the training of the mind to think. -- Albert Einstein.
    ------------------------------
    Satid S.
    ------------------------------



  • 10.  RE: Mapping keyboard

    Posted Wed July 12, 2023 07:00 AM

    By chance I managed to find out where the problems was.

    The laptop comes with the "Intel Management and Security Status" program installed and I inadvertently discovered that in one of the options the Shift + Escape keys were mapped as hotkeys, I have changed that option and now everything works perfectly.

    Thanks everyone for your help.

    Regards



    ------------------------------
    Carlos Herranz Rodriguez
    ------------------------------



  • 11.  RE: Mapping keyboard

    IBM Champion
    Posted Mon July 10, 2023 10:36 AM

    I think it's also possible that your laptop "Escape" key is dual-purpose, and it is defaulting to another function like "volume up/down".  This has affected and confused many users in my experience.  Is the "Escape" key working normally outside of the ACS key assignment screen?

    I have also experienced an issue where some other software package has registered itself to a particular keystroke (something like SnagIt) which captures the keystroke to take a screenshot (for example) and doesn't allow the keystroke to be passed to ACS.



    ------------------------------
    Steven Riedmueller Certified IBM i Admin - Speaker, Mentor, and Advocate
    ------------------------------