Project

General

Profile

Bug #360

Inkey$ returning multi-character results for modifier keys. (Should return nothing.)

Added by Brian Flanagan almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
04/28/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

Inkey$ should always return a single character code. It should also save a copy of the current value of the modifier keys in ScanShift

In the following example:

Curs Off
prevKY$=""
Do
    KY$=Inkey$ : Wait Vbl
    If KY$<>prevKY$ And KY$ <> "" Then Locate 0,0 : Print KY$;"                     "
    prevKY$=KY$
Loop

Typing a capital A will result in:

ShiftA

...instead of:

A
#1

Updated by Brian Flanagan over 3 years ago

  • Assignee set to Brian Flanagan
  • Target version set to 0.9.9.4-r3

There were also many other keys besides the modifiers.

Finally fixed!

#2

Updated by Brian Flanagan over 3 years ago

  • Status changed from New to Resolved
#3

Updated by Brian Flanagan over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF