Post Reply 
User Key for built in Features?
10-25-2016, 06:10 AM
Post: #1
User Key for built in Features?
Hi guys,
I would like to move the define functionality from its default spot of (shift + xtθn) to another key. How would I go about creating a user key for this?
Find all posts by this user
Quote this message in a reply
10-29-2016, 10:23 PM
Post: #2
RE: User Key for built in Features?
Righteo, so I found that if you return the key id number, you can get the "original key".

For example,
Code:
KEY K_PAREN()
BEGIN
RETURN 17;
END;
converts the () key into the xtθn key.

However, I still don't know how to access the shift or alpha versions of those keys. Is there a way to modify the key ID to do so? Like K_SHIFT(17) or something?
Find all posts by this user
Quote this message in a reply
10-29-2016, 10:40 PM
Post: #3
RE: User Key for built in Features?
(10-29-2016 10:23 PM)CH3791 Wrote:  However, I still don't know how to access the shift or alpha versions of those keys. Is there a way to modify the key ID to do so? Like K_SHIFT(17) or something?

Add 51 to the key id to access the shifted function and 102 for the alpha character.
Find all posts by this user
Quote this message in a reply
10-29-2016, 10:49 PM
Post: #4
RE: User Key for built in Features?
(10-29-2016 10:40 PM)Didier Lachieze Wrote:  Add 51 to the key id to access the shifted function and 102 for the alpha character.
That's. Awesome. Thanks very much!
Find all posts by this user
Quote this message in a reply
10-30-2016, 12:20 AM
Post: #5
RE: User Key for built in Features?
Thanks Moonbeam for replying, but what you've presented is the list of key names, and not how to access it. If that makes sense?
Find all posts by this user
Quote this message in a reply
Post Reply 




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