Post Reply 
WP-34S --> WP-30S: Reduce / Reuse / Repurpose
01-29-2014, 11:27 AM
Post: #3
RE: WP-34S --> WP-32S: Reduce / Reuse / Repurpose
(01-29-2014 04:13 AM)Paul Dale Wrote:  I wouldn't worry about the various shifts. Just don't map them to keys and leave the code alone.
From what I can see, Shifts are mapped to keys via this code in keys.h:

Code:
typedef enum {
K00 = 0, K01 = 1, K02 = 2, K03 = 3, K04 = 4, K05 = 5,
K10 = 6, K11 = 7, K12 = 8,
#define K13 9 /* Shift keys aren't in the enum since they are handled */
#define K14 10 /* Directly in the main key processing loop */
#define K15 11
K20 = 12, K21 = 13, K22 = 14, K23 = 15, K24 = 16,
K30 = 18, K31 = 19, K32 = 20, K33 = 21, K34 = 22,
K40 = 24, K41 = 25, K42 = 26, K43 = 27, K44 = 28,
K50 = 30, K51 = 31, K52 = 32, K53 = 33, K54 = 34,
K60 = 36, K61 = 37, K62 = 38, K63 = 39, K64 = 40,
} keycode;
#define K_UNKNOWN -1
#define K_F K13
#define K_G K14
#define K_H K15
#define K_ARROW K04
#define K_CMPLX K05
I changed K_H to be K50 (using H shift as the single shift key), and this works for defining my new shift key. However, I am at a loss as to how to redefine K13-K15.

(01-29-2014 04:13 AM)Paul Dale Wrote:  LastX was replaced by RCL L. You could add a LastX command but it gets fairly involved and there really isn't any benefit apart from the screen nemonic.
OK - I will see about this one. I may rethink adding LastX if it becomes involved.

WIth respect to your other suggestions, thank you for the help. I will tackle those after I get the 3 previous shifts dealt with.

-- Sanjeev Visvanatha
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: WP-34S --> WP-32S: Reduce / Reuse / Repurpose - Sanjeev Visvanatha - 01-29-2014 11:27 AM



User(s) browsing this thread: 1 Guest(s)