add missing common prefs multiple values; remove platform prefs from unix that are common prefs

This commit is contained in:
rakslice 2020-02-04 06:25:12 -08:00
parent 19033a4a39
commit eb35678f0d
2 changed files with 4 additions and 8 deletions

View File

@ -31,11 +31,7 @@ using std::string;
// Platform-specific preferences items // Platform-specific preferences items
prefs_desc platform_prefs_items[] = { prefs_desc platform_prefs_items[] = {
{"keycodes", TYPE_BOOLEAN, false, "use keycodes rather than keysyms to decode keyboard"},
{"keycodefile", TYPE_STRING, false, "path of keycode translation file"},
{"fbdevicefile", TYPE_STRING, false, "path of frame buffer device specification file"}, {"fbdevicefile", TYPE_STRING, false, "path of frame buffer device specification file"},
{"mousewheelmode", TYPE_INT32, false, "mouse wheel support mode (0=page up/down, 1=cursor up/down)"},
{"mousewheellines", TYPE_INT32, false, "number of lines to scroll in mouse wheel mode 1"},
{"dsp", TYPE_STRING, false, "audio output (dsp) device name"}, {"dsp", TYPE_STRING, false, "audio output (dsp) device name"},
{"mixer", TYPE_STRING, false, "audio mixer device name"}, {"mixer", TYPE_STRING, false, "audio mixer device name"},
#ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION #ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION

View File

@ -68,10 +68,10 @@ prefs_desc common_prefs_items[] = {
{"jitinline", TYPE_BOOLEAN, false, "enable translation through constant jumps"}, {"jitinline", TYPE_BOOLEAN, false, "enable translation through constant jumps"},
{"jitblacklist", TYPE_STRING, false, "blacklist opcodes from translation"}, {"jitblacklist", TYPE_STRING, false, "blacklist opcodes from translation"},
{"keyboardtype", TYPE_INT32, false, "hardware keyboard type"}, {"keyboardtype", TYPE_INT32, false, "hardware keyboard type"},
{"keycodes",TYPE_BOOLEAN,false,"use raw keycode"}, {"keycodes", TYPE_BOOLEAN, false, "use keycodes rather than keysyms to decode keyboard"},
{"keycodefile",TYPE_STRING,"Keycode file"}, {"keycodefile", TYPE_STRING, false, "path of keycode translation file"},
{"mousewheelmode",TYPE_BOOLEAN,"Use WheelMode"}, {"mousewheelmode", TYPE_INT32, false, "mouse wheel support (0=page up/down, 1=cursor up/down)"},
{"mousewheellines",TYPE_INT32,"wheel line nb"}, {"mousewheellines", TYPE_INT32, false, "number of lines to scroll in mouse wheel mode 1"},
{"hotkey",TYPE_INT32,false,"hotkey modifier"}, {"hotkey",TYPE_INT32,false,"hotkey modifier"},
{"scale_nearest",TYPE_BOOLEAN,false,"nearest neighbor scaling"}, {"scale_nearest",TYPE_BOOLEAN,false,"nearest neighbor scaling"},
{"scale_integer",TYPE_BOOLEAN,false,"integer scaling"}, {"scale_integer",TYPE_BOOLEAN,false,"integer scaling"},