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




Keyboard based utilities

FOLDER: KEYBOARD, KEYBOARD/KYBDSYNC

TYPE: Utilities / Stand-alone Executable with Source

SOURCE: INCLUDED with KYBDSYNC

LANGUAGE: C / Windows API

IDE: Microsoft Visual C++ 6

2 utilities are included: KeyboardSync, and KeyWatch:

Name: KeyboardSync

Program name: KYBDSYNC.EXE

Program Arguments: NONE

Requires: 1.70 version

Description: Automatically synchronizes My-T-Soft to current Windows layout

Notes: When running, it will place a small icon in the system tray (Task bar tray - Shell icon)

If My-T-Soft/My-T-Pen/My-T-Touch is running, it will monitor the current Keyboard layout, and select the appropriate layout for My-T-Soft and update the layout automatically, matching the My-T-Soft visual layout with the current Windows layout. This is most helpful when the user has 2 or more layouts that get used often.

1.77 Notes

The KeyboardSync utility has been updated to be more flexible. If the file KYBDSYNC.TXT is in the same folder as the KYBDSYNC.EXE, it will be read and used to manage the synchronization between the current input locale and the displayed My-T-Soft keyboard. The input locale information comes from Microsoft, based on the settings for Windows for more details, refer to their knowledge base, Q224804.

The logic used is as follows:

Using the GetKeyboardLayout API call, KeyboardSync based on the delay, queries the foreground window (keyboard focus/input window), and establishes the locale ID for the window. Then it attempts to match the local ID against the list read in from KYBDSYNC.TXT, and if there is a match, the My-T-Soft keyboard layout is updated, and My-T-Soft is refreshed to match.

The structure of the KYBDSYNC.TXT is important.

Lines beginning with a ; (semi-colon) are treated as comments.

Lines with local information must be structured as follows: 0x????,??,Description

The locale MUST start with 0x and follow with the 4 digit hex code (exactly 4 characters!). E.g. 0x0409,1,English

The commas are used to separate the values, and spaces should not be included for the first 2 entries. The description currently is not used by KeyboardSync, so it may contain any characters it is used for reference.

The second entry is the My-T-Soft keyboard layout value refer to the list in the My-T-Soft Help for more details.

Name: KeyWatch

Program name: KEYWATCH.EXE

Program Arguments: NONE

Requires: No special requirements, will also work with physical keyboard

Description: Displays keystroke information, scan code, virtual codes, extended, etc.

Notes: Useful for debugging and comparing input approaches to the keyboard. Runs as a stand-alone application, displays last keystroke, and streams keystroke display, automatically clearing when screen if full. Really a programmer debugging tool, it has helped to resolve some issues regarding how My-T-Soft generates shift sequences, etc.

Name: KeyEnter

Program Name: KEYENTER.EXE

Program Arguments: NONE

Requires: Nothing

Description: Generates an Enter Keystroke

Notes: Asked for by a customer to handle a particular application.

Name: KeyBack

Program Name: KEYBACK.EXE

Program Arguments: NONE

Requires: Nothing

Description: Generates an Backspace key Keystroke

Notes: Built along with KEYENTER

Name: KeyTab

Program Name: KEYTAB.EXE

Program Arguments: NONE

Requires: Nothing

Description: Generates an Tab key Keystroke

Notes: Built along with KEYENTER

Name: KeyEscape

Program Name: KEYESC.EXE

Program Arguments: NONE

Requires: Nothing

Description: Generates an Escape key Keystroke

Notes: Built along with KEYENTER

Version 1.74 - 4/3/2002

Copyright © 2000-2002 by Innovation Management Group, Inc.

All Rights Reserved.

My-T-Mouse, My-T-Pen, My-T-Touch, and My-T-Soft are registered trademarks of Innovation Management Group, Inc.


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