Universal Key-Press System
|
Posted on 10 August 1998
The following text was written by Phil
Killewald: This is an interesting point that I should have brought up a long
time ago, seeing as it effects calculator users (at least those of us who use ASM programs)
daily. The fact is, no one has a universal key-press system worked out yet. By that I mean
no one has set a standard like (2nd) acts as ENTER and (Clear) acts as ESC. Lets say,
for instance, that you are running SOS (I know you can change the key-press routines for it,
but it's a good example). I move down to ZTetris and press (Y=) to enter the program. But
then, at the player select screen of ZTetris, I have to press (Enter) to get by. Why
don't all the prominent programmers (and by that, I meant those who have made sucessful
programs over the past month-or-so) get together and come up with a universal system for
key-presses? I realize that each of the calculators has a different key layout, but that
can be taken care of easily. Just set a standard for each calc individually, but make sure
that when the games are ported, the correct keys are changed. It's frustrating when you are
playing one game, then you have to stop and think which buttons do what when you switch over
to the next. I understand fully that some games will require some special keys, but the
general format can be kept the same. If there is anyone who feels the same way, and
would like to comment, please do so.
|
|
Reply to this item
|
Re: Article: "Universal Key-Press System"
|
AGENT-TI
(Web Page)
|
I like all of your contributions but perhaps we are looking in the wrong direction.
When you submit a program, perhpas there should be a standard way to comment about it.
A standard for commenting would make it easy for anyone to find buttons/special features easily.
Notes on the Name of the Game, The author, his/her e-mail/his/her web-site, the size of the program, How much ram does it use while running?, the type of program (game/math/science/graphic), for what calc (82/3/4/5,etc) and Special notice if it is an ASM program.
Then follow it up with a short description, the buttons, then finally the history (if any)
It seems to me everyone uses almost the same buttons, so when they get to the buttons listing, they can just use the words 'STANDARD BUTTONS' + /whatever/.
Sincerely,
AGENT-TI
ß^)
|
Reply to this comment
|
10 November 1998, 22:54 GMT
|
|
Re: Article: "Universal Key-Press System"
|
TurboSoft
(Web Page)
|
l agree sorta. l'm not a real proponent of a universal keypress system as you say but it does sound like a good idea. And l think that even if programs do or do not use it there should always be a screen that shows what each active key does.
|
Reply to this comment
|
10 August 1998, 18:36 GMT
|
|
Re: Article: "Universal Key-Press System"
|
Joe Wingbermuehle
(Web Page)
|
I agree. I've tried to make all my games use similar keypresses for that very reason. In most (if not all) my games, [2nd] acts as enter, [MODE] pauses, and [DEL] exits. I use that system because all of those keys are easily accessible and their names are similar to their function (at least I think so). SOS uses [Y=] and [GRAPH] so that I can use that key system without starting a game too soon or exiting SOS before I'm ready.
|
Reply to this comment
|
10 August 1998, 18:38 GMT
|
|
Re: Article: "Universal Key-Press System"
|
John Bernatz
|
I agree with the universal keypress idea but in a diffrent way. All the programs should in some way incorperate a small utility to custimize the keys (such as in Vertigo for th TI-86). Then people can custimize their games to suit their needs.
|
Reply to this comment
|
10 August 1998, 19:34 GMT
|
|
|
|
|
Re: Re: Article: "Universal Key-Press System"
|
damemorder
(Web Page)
|
I am working on this (2:14 p.m. CST)
I got it use this for simple program on 85 (2:19 p.m. CST)
:{24,82,25,73,26,84,34,93}üKEYS
:ClLCD
:Outpt(2,1,"(1 or 2)")
:Input "Key Config?",A
:4üX
:10üY
:While 1
:ClLCD
:Outpt(X,Y,"O")
:getKyüK
:While K==0
:getKyüK
:End
:If K==KEYS(A)
:Y-1üY
:If K==KEYS(A+2)
:X-1üX
:If K==KEYS(A+4)
:Y+1üY
:If K==KEYS(A+6)
:X+1üX
:End
|
Reply to this comment
|
12 May 2001, 21:28 GMT
|
|
Re: Article: "Universal Key-Press System"
|
Luke
|
that is a good idea. i have been thinking of that for a long time. it would simplify a lot of things
|
Reply to this comment
|
10 August 1998, 21:37 GMT
|
|
Re: Article: "Universal Key-Press System"
|
Tim Carstens
(Web Page)
|
I think that to solve this problem we have a few options. For matters of simplicity, I'll list them here:
-We can create a standard for the functions of keys
-We can include support for another program that changes the functions of keys
The problem with both of these is awareness. We'll need to do some "promotion" to ensure that the programming world knows about this. I think that if we are serious, then we should ask to have this idea posted on the front page of ticalc.org.
If you are interested in making this happen, I will be assembling a team of programmers. If you want to join, ask questions, etc, then email me at
pwdtim@aol.com
|
Reply to this comment
|
10 August 1998, 21:47 GMT
|
|
Re: Article: "Universal Key-Press System"
|
Jonathan Kaus
|
This is a great idea, but not to force the programmers to use certain keys, but to have a standard way of changing them.. Not each program having an individual keyswitcher,rather:
at the start of the program:
jr StartOfProgram
.dw WORDptr to keytable
StartofProgram:
Then, at the keytable, have each of the key scancodes that are used for a function. In the docs for the program, tell which entry inthe keytable conrtols which thing. The universal program could then modify the program to suit your needs.
In usgard, use this (its more complex, but it allows relocation)
jr Start
.org $-1
.dw WORDptrtoKeyTable
.org $+1
Start:
(dont ask, just use)
|
Reply to this comment
|
10 August 1998, 22:11 GMT
|
|
Re: Article: "Universal Key-Press System"
|
moogled
|
I totally agree with you, Phil. The good thing is that when the TI-89 is released, the programmers have a chance to "start-over", in a sense. If enough of this idea is spread throughout the "calculator community", or whatever you would like to call it, gaming and using programs will be much easier on the newest and most powerful handheld calculator yet.
|
Reply to this comment
|
11 August 1998, 00:25 GMT
|
|
Re: Article: "Universal Key-Press System"
|
Scott Rubin
(Web Page)
|
There is only one problem I think with this universal keypress idea. I mean most of the programs out there use the arrows, 2nd, ALPHA, Clear, Exit, and the top 5 for most everything. The other most commonly used keys are Enter, STO, and ON. These are very far away from the other keys. What we need is not for all of the programmers to program certain functions to the same keys, but we need TI, the people who make the calculator to make a better keypad. It should actually have, maybe in red or green, the functions the buttons use for programs. What I'm saying is that all the buttons like on STO and Enter should be moved up. And That the calculator should have a built in "mode" so that The 2nd key will operate like enter, and the EXIT key will operate like Esc. This would make programming easier and would solve all the problems all together. If you don't understand what I mean drop me an ICQ line. #16576630
|
Reply to this comment
|
11 August 1998, 01:04 GMT
|
|
1 2
You can change the number of comments per page in Account Preferences.
|