1 |
|
/* |
2 |
|
* prefs_unix.cpp - Preferences handling, Unix specific things |
3 |
|
* |
4 |
< |
* SheepShaver (C) 1997-2002 Christian Bauer and Marc Hellwig |
4 |
> |
* SheepShaver (C) 1997-2004 Christian Bauer and Marc Hellwig |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
30 |
|
// Platform-specific preferences items |
31 |
|
prefs_desc platform_prefs_items[] = { |
32 |
|
{"ether", TYPE_STRING, false, "device name of Mac ethernet adapter"}, |
33 |
+ |
{"etherconfig", TYPE_STRING, false, "path of network config script"}, |
34 |
|
{"keycodes", TYPE_BOOLEAN, false, "use keycodes rather than keysyms to decode keyboard"}, |
35 |
|
{"keycodefile", TYPE_STRING, false, "path of keycode translation file"}, |
36 |
+ |
{"mousewheelmode", TYPE_INT32, false, "mouse wheel support mode (0=page up/down, 1=cursor up/down)"}, |
37 |
+ |
{"mousewheellines", TYPE_INT32, false, "number of lines to scroll in mouse wheel mode 1"}, |
38 |
|
{"dsp", TYPE_STRING, false, "audio output (dsp) device name"}, |
39 |
|
{"mixer", TYPE_STRING, false, "audio mixer device name"}, |
40 |
|
#ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION |
103 |
|
{ |
104 |
|
PrefsAddBool("keycodes", false); |
105 |
|
PrefsReplaceString("extfs", "/"); |
106 |
+ |
PrefsReplaceInt32("mousewheelmode", 1); |
107 |
+ |
PrefsReplaceInt32("mousewheellines", 3); |
108 |
|
PrefsAddInt32("windowmodes", 3); |
109 |
|
PrefsAddInt32("screenmodes", 0x3f); |
110 |
|
#ifdef __linux__ |