--- SheepShaver/src/Unix/prefs_unix.cpp 2003/12/27 10:02:33 1.3 +++ SheepShaver/src/Unix/prefs_unix.cpp 2004/05/09 17:44:17 1.6 @@ -1,7 +1,7 @@ /* * prefs_unix.cpp - Preferences handling, Unix specific things * - * SheepShaver (C) 1997-2002 Christian Bauer and Marc Hellwig + * SheepShaver (C) 1997-2004 Christian Bauer and Marc Hellwig * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,8 +30,11 @@ // Platform-specific preferences items prefs_desc platform_prefs_items[] = { {"ether", TYPE_STRING, false, "device name of Mac ethernet adapter"}, + {"etherconfig", TYPE_STRING, false, "path of network config script"}, {"keycodes", TYPE_BOOLEAN, false, "use keycodes rather than keysyms to decode keyboard"}, {"keycodefile", TYPE_STRING, false, "path of keycode translation 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"}, {"mixer", TYPE_STRING, false, "audio mixer device name"}, #ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION @@ -100,6 +103,8 @@ void AddPlatformPrefsDefaults(void) { PrefsAddBool("keycodes", false); PrefsReplaceString("extfs", "/"); + PrefsReplaceInt32("mousewheelmode", 1); + PrefsReplaceInt32("mousewheellines", 3); PrefsAddInt32("windowmodes", 3); PrefsAddInt32("screenmodes", 0x3f); #ifdef __linux__