I am trying to make a keyboard that will issue the following commands in a 5250 AS/400 environment. I read a knowledgebase article that says the following:
How do I tell Build-A-Board to use the left or right control keys and how do I tell it to use a + from the num pad? Also, I need to do a Reset. What key should be used for that?
You should refer to the notes & reference material in Build-A-Board Help | My-T-Soft Macrobat
The %%s162 will generate the scan code for the left control and the %%s163 will be the right control. It is possible you will need an extended attribute for the right control, which would be %%e163. Using our tool KEYBOARD\KeyWatch.exe (in the developer's kit - see C:\Program Files\Build-A-Board\SDK) you can watch what the physical keyboard generates & see what the virtual keys generate for comparison. The latching keys (Shift/Ctrl/Alt) can be problematic in that they can need handling & support from the virtual keyboard software MYTSOFT.EXE. For example, the Shift key needs to "latch" the shift state down, e.g. press the shift key & release. Press a letter & release. You will get an unshifted character. On the virtual keyboard, due to the pointing device, nothing "latches" the key (i.e. you can't press 2 keys at once with 1 pointing device). If the keys are discrete & the application software is triggered by Windows virtual key codes, then the existing implementation will work. If software monitors the physical keyboard, or requires latching capabilities, then there may be issues. If so, please let us know & we will try to assist further.
Category: Using | Type: Question/Answer | Product: Build-A-Board | Version: 2.10 |
Notes:
As seen in ...