I bought a 16-key USB "stick" from PI-Engineering so I can have more buttons to type with. The hardware is nice, but the software stinks.
I'm thinking I can get it to be useful with Keyman. Assuming I succeed in setting the firmware so it is identifies itself as a USB keyboard (not using their funny drivers at all) and sends HID codes for some keys that are not on my regular keyboard (e.g. F13-F24 and International Keys 1-4), will Keyman take that?
--John
Topic Can you do this?
We have two new locations for Keyman technical support:
- SIL Keyman Community - for general Keyman technical support
- Stack Overflow - for support on creating keyboard layouts with Keyman Developer
The Tavultesoft Forums are now read only.
« First Page | ‹ Previous 10 | Next 10 › | Last Page »
# Can you do this? 2006-11-28 13:06:24.017 | |
---|---|
John Dlugosz | |
# RE: Can you do this? 2006-11-28 13:24:31.690 | |
Tavultesoft Tavultesoft Staff | Hi John,
It should work if you can get it sending the correct virtual key codes. You might have to use the Virtual Key Identifier in Keyman Developer to get the correct mappings in the keyboard, but it should be possible. Kind regards, Paul Durdin Tavultesoft Pty Ltd |
# RE: Can you do this? 2006-11-28 17:06:20.157 | |
John Dlugosz | Well, I got it programmed to send F12 on one key and F14 on another key. Using the vkey identifier in Keyman Developer, it shows F12 as expected, but nothing happens with F14. None of the "added" keys work. It only takes things that are on my regular keyboard (though I've not tried everything).
To be sure that the normal Windows key map isn't tossing them, I made sure that Keyman was active with a downloaded keyboard mapping. Can you point me to a utility that runs at a sufficiently low level to make sure the hardware (USB HID Keyboard/keypad per usage page 0x07) is working? |
# RE: Can you do this? 2006-11-29 09:26:06.790 | |
Tavultesoft Tavultesoft Staff | Hi John,
Winspector (available from www.windows-spy.com) should be able to tell you if the hardware is sending the right information. Another good test would be to turn on Keyman debugging (under options in Keyman Configuration), enable a keyboard, and try using the extra keys. Keyman will log anything it generates to c:\keyman.log -- you can have a look at that or, if you can't make sense of it, send it [email protected]. Make sure you disable debugging after testing it, though, as otherwise the logfile can become very large. Paul Durdin Tavultesoft Pty Ltd |
# RE: Can you do this? 2006-11-30 15:35:28.910 | |
John Dlugosz | I sent the log via email.
Windows-spy looks interesting, but I don't see how it would tell me about the keyboard driver. |
# RE: Can you do this? 2006-12-01 09:20:19.770 | |
Tavultesoft Tavultesoft Staff | Hi John,
Winspector should be able to tell you if anything at all is being returned when you press a key on the USB keypad. Thanks for the logfile, I have replied to your email as well. Paul Durdin Tavultesoft Pty Ltd |
# RE: Can you do this? 2006-12-02 13:43:28.567 | |
John Dlugosz | Paul, I still don't understand. What window should Winspector be pointing to, to spy on drivers and keyboard mapping?
I ran a free USB Sniffer, and I see the expected codes coming through when I press buttons, talking to "Windows NT WDM version 1.32" When Keyman is engaged, is the ordinary Windows keyboard map still being used, first? I'm wondering if that is what is throwing it away. |
# RE: Can you do this? 2006-12-04 16:49:19.660 | |
Tavultesoft Tavultesoft Staff | Hi John,
Try the following: 1) Make sure Keyman is NOT running -- exit it if it is. 2) Start Winspector. 3) Start Notepad. 4) Select Notepad as the window for Winspector to watch. 5) Open the Messages for the Notepad window in Winspector. 6) In Notepad, press the F14 or other keys on the keypad. Winspector will show a whole heap of messages (it will also show some when you swap from Winspector back to Notepad). 7) Swap back to Winspector and click the Stop button to stop receiving the messages. If the keypad is sending the correct virtual key codes they will appear in the list as 'KEYDOWN' and 'KEYUP' events with a message of 'Virtual Key F14' or similar beside them. If they do not have the KEYDOWN and KEYUP events, the keypad is not sending the correct virtual key codes. Kind regards, Paul Durdin Tavultesoft Pty Ltd |
# RE: Can you do this? 2006-12-05 04:33:56.050 | |
John Dlugosz | I see. That is bascially the same test as using a keystroke widget like the one in Keyman Developer. It will tell me that everything is working correctly or not, but doesn't look at the low-level USB stuff. That is, I knew it's not getting through, but wanted to see if the problem was with the keyboard (is it sending the USB HID codes) or with XP (not translating those into virtual keys).
--John |
# RE: Can you do this? 2006-12-05 15:20:26.317 | |
Tavultesoft Tavultesoft Staff | Hi John,
Winspector does return more information than Keyman Developer's virtual keycode trap, but as you say it's not low-level enough. It may be that the Windows input layout does not include mappings for the extra keys; if that is the case, you would have to install a layout that did. I'm not sure if such a thing exists, or how to create on if it doesn't -- you'd have to contact Microsoft support to get an answer. Kind regards, Paul Durdin Tavultesoft Pty Ltd |
« First Page | ‹ Previous 10 | Next 10 › | Last Page »