add support for rtc's strange keyboard stuff
This commit is contained in:
parent
da8971a7ed
commit
c871a5338a
1 changed files with 4 additions and 4 deletions
8
nboard
8
nboard
|
@ -46,16 +46,16 @@ def main(stdscr):
|
||||||
vx += 1
|
vx += 1
|
||||||
nl = vx
|
nl = vx
|
||||||
|
|
||||||
if k == '[1;5A':
|
if k == '[1;5A' or k == 'kUPS':
|
||||||
vy += 0-(height//2)
|
vy += 0-(height//2)
|
||||||
nl = vx
|
nl = vx
|
||||||
if k == '[1;5B':
|
if k == '[1;5B' or k == 'kDNS':
|
||||||
vy += height//2
|
vy += height//2
|
||||||
nl = vx
|
nl = vx
|
||||||
if k == '[1;5D':
|
if k == '[1;5D' or k == 'kLFTS':
|
||||||
vx += 0-(width//2)
|
vx += 0-(width//2)
|
||||||
nl = vx
|
nl = vx
|
||||||
if k == '[1;5C':
|
if k == '[1;5C' or k == 'kRITS':
|
||||||
vx += width//2
|
vx += width//2
|
||||||
nl = vx
|
nl = vx
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue