Unzip the contents of this ZIP file into your LCDStudio folder, then enable the plugin
through the Options window to use it.

Version Changes
---------------
Version 1.3.1
 - Numerous Calculator bug fixes:
    - Use proper decimal separator depending on locale
    - Allow entry of zero for second value
    - Catch overflow and divide-by-zero errors (instead of killing LcdStudio)
    - Fixed Clear function when no second value is entered yet
    - Fixed Equals operation when no other operation has been entered (4=4)
 - Limit answers to 15 decimal places
 - FullDisplay now shows operation while still in progress

Version 1.3
 - Built Calculator plugin into KeyCapture
 - New Calculator features:
    - Numerous input-interface bug fixes
    - Enhanced Clear function
    - Added Memory feature
    - Added FullDisplay value

Version 1.2
 - Added Alt and Shift keystate values
 - Added keystate hiding options (must restart LCDStudio for these to take effect!)
 - All keystate values initialize as "False"

Version 1.1
 - More efficient KeyState updates
 - "Last keypress" data in the LastKey tree folder

Before Using the Calculator feature
===================================
In the Options window, under the Plugins section, select KeyCapture.  To enable the
Calculator feature, check the "Enable Calculator" checkbox.  Once you've done that,
you'll need to set up a toggle key for turning the Calculator on and off.  To do this,
click the Change button and press the key (along with Shift, Alt, Control, or any
combo of the three if you wish) that will turn the Calculator on and off.  Once you've
done this, the Calculator will be functional.

Using the Calculator
====================
To turn the Calculator on and off, press the toggle key you set up earlier.  When you
turn the Calculator on, your keyboard is effectively turned off, and only the
Calculator will pick up your keypresses.  To turn the Calculator off (and turn your
keyboard back on), press the toggle key again.

As of this version, the Calculator only supports the basic 4 functions: + -  .  Below
is a key reference:

Key                | Function | Description
===================|==========|=====================================================
Number keys        | 1-9, 0   | Number entry
Numeric keypad     | 1-9, 0   | Number entry (note: Num Lock does not need to be on)
Period (.)         | .        | Decimal point
Comma (,)          | ,        | Decimal point
Shift+Equal (+)    | +        | Addition
Minus (-)          | -        | Subtraction
Shift+8 (*)        |         | Multiplication
X                  |         | Multiplication
Forward-slash (/)  |         | Division
Equal (=)          | =        | Complete operation
Enter              | =        | Complete operation
Equal (=) multiple | =        | Repeat operation
Enter multiple     | =        | Repeat operation
Escape             | CE       | Clear display
Escape twice       | C        | Clear calculator
Backspace          | Back     | Remove last number/decimal
M                  | M+       | Add value to Memory
C                  | MR       | Read value from Memory
C twice            | MC       | Clear value from Memory

Using the Calculator in a Design
================================
For an example of how Calculator is used, open calc.xds, included in this package.

Value             | Type       | Description
==================|============|=======================================================
IsEnabled         | Boolean    | Indicates if the Calculator is enabled (in Settings)
IsActive          | Boolean    | Indicates if the Calculator is active (via toggle key)
Display           | String     | Actual Calculator display (current number only)
FullDisplay       | String     | Complete function (displayed after each operation)
CurrentOperation  | Character  | Current operation symbol (+ -  )
MemStatus         | Character  | Current memory status ("M" if present, "" if empty)
MemValue          | String     | Current memory value
