![]() |
Forum Index : Microcontroller and PC projects : Does MM care about keyboard type?
![]() ![]() |
|||||
Author | Message | ||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3269 |
That sounds as if [E] is being interpreted as a function key which has been setup to generate RUN when pressed. [E] is 45 hex and [F5] is 95 hex, so if some bits were received incorrectly that could account for what you saw. Geoff Geoff Graham - http://geoffg.net |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9483 |
Is there any way to disable the function key ability so that I can rule this out as a possible cause of the problems? Smoke makes things work. When the smoke gets out, it stops! |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6219 |
I think the problem is more likely to be something being confused with the up-arrow which would give you the last command line. The up=arrow is converted to chr$(128) which might be easy to get in error. To eliminate the function keys, try setting them all to something simple. Jim VK7JH MMedit |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9483 |
Okey dokey, I will set all function keys to numbers(ASCII numbers, that is), just to eliminate them from the equation. Smoke makes things work. When the smoke gets out, it stops! |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9483 |
Quick followup question about these issues: - I am using the F1-F12 keys in "Normal" mode within my program, to allow the user to make choices: "Press [F1] to continue..." kind of thing. This is working just fine 90% of the time, but when I get these issues with the KB, I am wondering if it is to do with my choice of using the function keys. I would think not, but I thought it would be a good idea for me to ask here, in case. I have disabled the function keys with the likes of OPTION F1 "1" kind of thing for all twelve keys, and will now chnage the menu code for a few menu screens for a start, just to see if this helps things. Smoke makes things work. When the smoke gets out, it stops! |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |