Issue 453 : Virtual keyboard setting

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1999 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2012-09-18 23:41:55 +00:00
parent b31cf6b61e
commit 144a28412b
7 changed files with 137 additions and 122 deletions

View File

@@ -756,6 +756,13 @@ const T_Lookup Lookup_SwapButtons[] = {
{NULL,-1},
};
const T_Lookup Lookup_VirtualKeyboard[] = {
{"Auto",0},
{"ON",1},
{"OFF",2},
{NULL,-1},
};
typedef struct {
const char* Label;
byte Type; // 0: label, 1+: setting (size in bytes)
@@ -937,7 +944,7 @@ void Button_Settings(void)
//{" horizontally:",1,&(selected_config.Mouse_sensitivity_index_x),1,4,0,Lookup_MouseSpeed},
//{" vertically:",1,&(selected_config.Mouse_sensitivity_index_y),1,4,0,Lookup_MouseSpeed},
{"Key to swap buttons:",2,&(selected_config.Swap_buttons),0,0,0,Lookup_SwapButtons},
{"",0,NULL,0,0,0,NULL},
{"Virtual keyboard",1,&(selected_config.Use_virtual_keyboard),0,2,0,Lookup_VirtualKeyboard},
{"",0,NULL,0,0,0,NULL},
{"",0,NULL,0,0,0,NULL},