background image

Special Programming Options

The KE72 features several special commands that may be included 
in the configuration file to dictate the way inputs react and how the 
Trackball interface is treated in the model KE72-T.  These special 
commands may be placed anywhere within the configuration file 
and in any order.

Input Preload Option -      

PREL:Y

  or  

PREL:N

If this line is present in the configuration file, the KE72 will ignore 
any switches that are on at power up or reset if the Y setting is 
used.  Having inputs on at power up may cause keyboard error 
messages on some PCs.  With this option set to Y, an active input 
at power on is ignored until it is deactivated.  At this point, the 
input will respond normally when activated and deactivated.  Note 
that not specifying this setting in the configuration file is the same 
as stating PREL:N.

The KE72-T Trackball header accepts a wide variety of Trackball 
devices.  In order to provide the most in the way of compatibility, 
the KE72-T allows for the reversal of the direction of movement 
from either the “X” (side to side) axis and the “Y” (up and down) 
axis through simple settings in the configuration file.

Trackball X direction reversal (KE72-T only) -  

REVX:Y

The reported direction of the X axis of the trackball may be reversed 
by including a line REVX:Y in the configuration file.  If this option is 
not specified, that is the same as defining REVX:N.

Trackball Y direction reversal (KE72-T only) - 

REVY:Y

The reported direction of the Y axis of the trackball may be reversed 
by including a line REVY:Y in the configuration file.  If this option is 
not specified, that is the same as defining REVY:N.

12

Example: 

KE72LOAD  sample.txt k

The command line above will load the configuration contained in 
the file “sample.txt” to the KE72 through the PC keyboard port.

The options for <port> are the following:

- Keyboard port

- Use Com 1 to load the configuration

- Use Com 2 to load the configuration

- Use Com 3 to load the configuration (Win version)

- Use Com 4 to load the configuration (Win version)

- Use Com 5 to load the configuration (Win version)

- Use Com 6 to load the configuration (Win version)

Note that for loading through the serial port a Male/Female 
straight through cable must be used to connect from the KE72 
serial port to the Com port of the PC where the program is being 
run.  While loading from a command line,  a  series of “.......” 
characters are sent which indicate the progress of the loading.

The 

/e

 option suppresses the confirmation “.......” characters sent 

as progress indicators when loading from a command line. Error 
messages will still be shown if they occur during loading.

The 

/h

  option is the same as the /e option except that error 

messages are supressed as well.

The 

/r

  option reads the current KE72 configuration instead of 

loading the configuration.  The configuration currently residing in 
the KE72 is written to the file named in the command line.

Example:  KE72LOAD current.txt 5 /r
Will read the configuration from the KE72 using Com 5 and create 
a file named “current.txt” which will hold the text representation of 
the configuration.

15

Summary of Contents for KE72-T

Page 1: ...KE72 and KE72 T PC Keyboard Encoder User Manual...

Page 2: ...before using your KE72 In addition to this printed manual other resources are included with the product CD which provide information and tips on using the KE72 and making the most of it s features If...

Page 3: ...mming Options Loading a Configuration File to the KE72 Using the KE72 Serial Port Appendix A Specifications Appendix B KE72 Input Interface Appendix C KE72 Status LED Signals Appendix D KE72 T Interfa...

Page 4: ...l to the unit The signals received on this port are converted into mouse movement on the PC The KE72 uses standard drivers for its functions No special software is required for the unit to work with y...

Page 5: ...same Male Male PS 2 style cable Use the serial port on the KE72 for serial data to keystroke translation or for serial loading of the KE72 configuration Note Make connections to the KE72 with power o...

Page 6: ...eld active the keystroke response will repeat if programmed to repeat based on the repeat rates and delays set within the PC operating system KE72 inputs may be programmed to send keystrokes when the...

Page 7: ...plied logic Ground The eight position header on the KE72 T is for connection of a Trackball or Spinner Use our KE TBH3 cable to connect the Trackball or create a cable using the signals as shown Power...

Page 8: ...KE72 are simple and versatile The following examples demonstrate the text required in the configuration file to define the response of an input Each input definition line begins with INXX where XX is...

Page 9: ...e response for the input when it is deactivated IN03 G Using the line above in a configuration file will set input 3 to send the G key when the input is de activated No response will be generated by i...

Page 10: ...oard This option is used to designate case sensitivity on an alpha character ex IN01 A can be used to always emulate a capital A regardless of the current Shift and Caps Lock states D Use this option...

Page 11: ...20 will send a one byte value of 0xDC InputsontheKE72maybeprogrammedtosendupto 32keystrokes when activated and up to 16 when the input is released example IN28 p r e s s e d Types pressed when input 2...

Page 12: ...eft N 5 5 N 6 6 Right N 7 7 Home N 8 8 Up N 9 9 PgUp N 0 0 Ins N Del N Enter Enter N N N N Note the N with a key definition indicates that the key being emulated is the one from the numeric keypad sec...

Page 13: ...activated Note that not specifying this setting in the configuration file is the same as stating PREL N The KE72 T Trackball header accepts a wide variety of Trackball devices In order to provide the...

Page 14: ...guration the resolution is automatically adjusted by the system s mouse driver Sample KE72 Configuration File This is a sample configuration file for the KE72 Note that comments may be used in the con...

Page 15: ...directly and running it or it may be run as a command line with options When run with no command line options the program will prompt the user for the configuration file to be loaded as well as the p...

Page 16: ...d to connect from the KE72 serial port to the Com port of the PC where the program is being run While loading from a command line a series of characters are sent which indicate the progress of the loa...

Page 17: ...s sent to the serial port the KE72 will produce the required keystrokes to produce an upper case A The KE72 responds with a character after each byte is received in this mode Always wait for the ackno...

Page 18: ...to the KE72 serial port which corresponds to the up or down state of a particular key Once this command byte is received by the KE72 the serial mode will be in the key number mode until changed by the...

Page 19: ...ults in the return of a character in the range of ASCII 0 7 The KE72 response character reflects the current state of the Caps Lock Num Lock and Scroll Lock LEDs 0 No LEDS On 1 Scroll Lock LED on only...

Page 20: ...urrent 80 ma Typical Operating Temperature 0 to 70 Degrees C Input Header 72 individual inputs divided between two 2 x 20 headers 025 square pins spaced at 100 Required Input Current 1 2 ma sink curre...

Page 21: ...ve the 5V supply on the unit The logic signals must produce an active logic low signal for the appropriate amount of time as listed in Appendix A The recommended maximum cable length from the KE72 inp...

Page 22: ...the anode side of the LED to the 5V source on the header and attach the cathode leg of the LED to one end of the 470 Ohm resistor Connect the other end of the resistor to the signal from the KE72 Note...

Page 23: ...Pinout The KE72 serial port is an RS232 connection The pinout of the DB9 female connector on the KE72 is as defined below KE72 T Trackball and Mouse button Interface signal assignments Note Do not sup...

Page 24: ...70 198 R Win 71 199 Win APL 72 200 Insert 75 203 Delete 76 204 L Arrow 79 207 Home 80 208 End 81 209 Up Arrow 83 211 Dn Arrow 84 212 Page Up 85 213 Page Dn 86 214 Key Make Break R Arrow 89 217 NumLock...

Page 25: ...nection to the KE72 and KE72 T 24 KE TBH3 Trackball interface cable This cable attaches the KE72 T Trackball input to the Trackball itself Accessories We offer several accessories for use with the KE7...

Page 26: ...ntrols and display interfaces just to name a few Give us a call to discuss your custom requirements Special Output Controls LCD Interface LED Interface Rotary Switch Inputs MIDI Output Questions or Co...

Page 27: ...u may have additional rights Great care has been taken during the assembly testing and burn in of your KE72 to ensure its performance If you have any questions please send us an email or give us a cal...

Page 28: ...4677 Fax 540 465 4678 Monday through Friday 8 00 am to 5 00 pm EST sales hagstromelectronics com www hagstromelectronics com 1986 Junction Road Strasburg VA 22657 Copyright 2017 HAGSTROM ELECTRONICS...

Reviews: