mirror of
https://github.com/Pecusx/libretro-atari800.git
synced 2026-05-20 22:33:22 +02:00
Schift & Control status on VKBD
This commit is contained in:
@@ -49,6 +49,18 @@ unsigned short *pix=(unsigned short *)buffer;
|
||||
}
|
||||
}
|
||||
|
||||
// draw Shift and Control keys status
|
||||
// Shift - position 0,3
|
||||
if (SHIFTON==1)
|
||||
{
|
||||
Draw_text((char*)pix,XBASE0-2+0*XSIDE ,YBASE0+YSIDE*3,RGB565(2,2,31), BKGCOLOR ,1, 1,3,MVk[(3*NPLGN)+0+page].shift);
|
||||
}
|
||||
// Control - position 0,2
|
||||
if (CTRLON==1)
|
||||
{
|
||||
Draw_text((char*)pix,XBASE0-2+0*XSIDE ,YBASE0+YSIDE*2,RGB565(2,2,31), BKGCOLOR ,1, 1,3,MVk[(2*NPLGN)+0+page].ctrl);
|
||||
}
|
||||
|
||||
DrawBoxBmp((char*)pix,XBASE3+vx*XSIDE,YBASE3+vy*YSIDE, XSIDE,YSIDE, RGB565(31, 2, 1));
|
||||
if (SHIFTON==1)
|
||||
{
|
||||
|
||||
+1
-1
@@ -63,8 +63,8 @@ Mvk MVk[NPLGN*NLIGN*2]={
|
||||
{ "Inv", "Inv", "Inv", RETROK_LSUPER},
|
||||
|
||||
{ "PG2", "PG2", "PG2", -2}, //40+8
|
||||
{ "Del", "Del", "Del", RETROK_DELETE},
|
||||
{ "Spc", "Spc", "Spc", RETROK_SPACE},
|
||||
{ "Del", "Del", "Del", RETROK_DELETE},
|
||||
{ "Clr", "Clr", "Clr", RETROK_HOME},
|
||||
{ "Ins", "Ins", "Ins", RETROK_INSERT},
|
||||
{ " + ", " \\ ", " + ", RETROK_EQUALS},
|
||||
|
||||
Reference in New Issue
Block a user