Jump to content

Photo

Better keyboard scanning?


1 reply to this topic

#1 tschak909 OFFLINE  

tschak909

    River Patroller

  • 3,108 posts
  • Location:USA

Posted Thu Feb 7, 2019 10:18 AM

Hey, guys.

 

In PLATOTERM, I've been using KSCAN to do all the keyboard scanning, however, it is missing keys that I would have liked to use for mapping PLATO keys.

 

I would love to be able to map all the keys mnemonically, as this is what I've done in every other port of PLATOTERM.

 

e.g. I can't do CTRL-S for SHIFT-STOP, or FCTN-S for STOP, I have to use something like CTRL-0 and FCTN-0 respectively.

 

Is there a way around this?

 

-Thom



#2 jedimatt42 ONLINE  

jedimatt42

    Stargunner

  • 1,857 posts
  • Location:Beaverton, OR

Posted Thu Feb 7, 2019 12:32 PM

KSCAN in mode 5 should be able to get you control keys just fine...  To determine the key code I want to expect, I run this little BASIC program:

10 CALL KEY(5,K,S)
20 PRINT K,S
30 GOTO 10

ctrl-s is 147

fctn-s is 8

 

The value of K... 

 

-M@






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users