IMG Home PageIMG ProductsProduct DownloadsOrdering InformationTechnical Support and Frequently Asked QuestionsDeveloper's Corner and UtilitiesAbout IMG
CustomersIMG ResellersMedia InformationIMG Events / Trade ShowsUseful LinksIMG Contact InformationIMG Information / Policies
Translate



IMG KnowledgeBase & Frequently Asked Questions

IMG Logo



Search FAQ's

Keyword Keyword Search Help
Category Type Product Version

Searching for ID: QU1606120468

QU1606120468
Is there a way to enter ASCII characters through the My-T-Touch keyboard?
ASCII characters can typically be entered by holding down the "ALT'key and entering a equivalent numeric value. (Example: ALT+65 = ASCII character "A") We use this feature to enter password codes in our control system. We have not been able to do it with the My-T-Touch keyboard.

Yes, you can do this, but it may be beneficial to look at all the alternatives.

My-T-Touch has no problem generating keystrokes for use in a DOS application, as long as it runs in a window.

Keystrokes generated by My-T-Touch are done at a fairly low level, so one issue in the DOS world may be the distinction between the lowercase a and the uppercase A. Since the default keyboard generates the 'a' scan code, it is not modified in anyway. Trying CAPS lock on the keyboard, then trying the A on the keyboard should be tried with the DOS application to see if it gets the correct character/responds OK.

To look at various alternatives, you will want to work with the Macro panel. Here is the macro to generate the ALT+065: [Alt-Down]%%v096%%v102%%v101[Alt-Up]. The Alt key manipulation should make sense, in that the Alt key is held down while the virtual keys are sent. The %%v sequence is used as an escape to indicate the next 3 decimal digits are the virtual key code to be generated. So in this case, they are 96, 102, 101, and these virtual keys correspond to the numpad 0, numpad 6, numpad 5, or (as in your example) Alt+065.

Unfortunately there is no way to generate this sequence directly on the keyboard, since the Alt state is only preserved for the next keystroke (e.g. Alt-F) - because of pointing device limitations, and standard usage, there is no easy way to hold the alt-key down while generating a NumPad sequence, other than with the programmable macros.

Without more info on the whole situation, I am not sure what to suggest next. One option would be to use the macro panel to create the characters you need, as above. Another option is to use the Key Options (My-T-Touch Setup | Configuration | Key Options), and redefine the appropriate keys & use the SendString developer's Kit tool to essentially redefine the way keystrokes are generated.

Category: UsingType: Question/Answer Product: My-T-TouchVersion: 1.77

Notes:



IMG Home PageIMG ProductsProduct DownloadsOrdering InformationTechnical Support and Frequently Asked QuestionsDeveloper's Corner and UtilitiesAbout IMG
CustomersIMG ResellersMedia InformationIMG Events / Trade ShowsUseful LinksIMG Contact InformationIMG Information / Policies