Skip to content

Commit

Permalink
Allow lowercase letters with active caps lock
Browse files Browse the repository at this point in the history
  • Loading branch information
maccasoft committed Nov 15, 2018
1 parent bc6ca09 commit 4c1dd67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vt100.spin
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,8 @@ PRI keyPressed(k, mod) | c, ptr
"A".."Z":
if (usb_report[0] & %00010001) ' CTRL
ser.char(c - "A" + 1)
elseif (usb_led & LED_CAPS_LOCK)
ser.char(c ^ $20)
else
ser.char(c)
"a".."z":
Expand Down

0 comments on commit 4c1dd67

Please sign in to comment.