Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!fs1!fs1.ee.ubc.ca!jthornto From: jthornto@fs1.ee.ubc.ca (THORNTON JOHAN A) Newsgroups: comp.sys.handhelds Subject: Re: Soft Keys Application [and LBROWSE example] Keywords: user, key, definitions Message-ID: <1450@fs1.ee.ubc.ca> Date: 20 Nov 90 07:12:36 GMT References: <1448@fs1.ee.ubc.ca> <11960@life.ai.mit.edu> Sender: root@fs1.ee.ubc.ca Reply-To: jthornto@fs1.ee.ubc.ca (THORNTON JOHAN A) Organization: Dept. of Electrical Engineering University of B.C. Lines: 35 Incidentally, bson@rice-chex.ai.mit.edu (Jan Brittenson) writes: >In article <1448@fs1.ee.ubc.ca> > jthornto@fs1.ee.ubc.ca (THORNTON JOHAN A) writes: > > > This is my "Soft Keys" application. > > Plenty of thanks! This is something I've needed and planned to do >myself. Why do you use integer key codes, [BLUE][NXT][BLUE][S] could >have a binding different from [BLUE][NXT][S]? The KEY command only returns the first key, whether it's an S or [blue]. But it *is* trivial to modify the code to tack on a decimal ending to the definitions. The move would even be upward compatible with an old KLIST. I'll post it in a few days. > > I chose [blue] [NXT] as the hot key; it's not used for anything > > anyways. > > Hmm... mine certainly does something... it moves to the beginning >of the current menu, a function that I find quite useful. Oops. I was to quick on the trigger. Indeed, [blue] [NXT] does that. Oh well, I'm stuck on it. Pick your own favourite. A good idea is to soft-define the same key to the original function that you user-defined the KEYS program to. That way, the original function is just one keypress away. ------- _/__/ ----------------------------------------------------- _| ___| E l e c t r i c a l | Johan Thornton, Esq. | | |_/ E n g i n E E r i n g |------------------------- |/| __| U n i v e r s i t y | jthornto@fs1.ee.ubc.ca |-| |/__ o f B r i t i s h |------------------------- | |_____| C o l u m b i a | This space for rent ---- |__|/_| ------------------------------------------------------