1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
##========================================
## Graphics parameters
##========================================
javax.microedition.lcdui.screenWidth:480
javax.microedition.lcdui.screenHeight:330
# Toolkit configuration (possible values: SDL, virtual)
# The toolkit parameter should be set to "virtual" unless you know what you do.
# (to change the UI backend, see the backend parameter of the virtual toolkit below)
javax.microedition.lcdui.toolkit:virtual
##======================================
## Parameters for the Virtual UI Toolkit
##======================================
# Possible backend values: NULL, SDL, AWT, AWTGRABBER, SWT, X11, GTK, QT, FB
org.thenesis.microbackend.ui.backend:SWT
# SDL backend configuration.
# Possible bitsPerPixels values: 8, 16, 32
# Possible video mode values: SW, HW (i.e software, hardware)
org.thenesis.microbackend.ui.sdl.bitsPerPixel:32
org.thenesis.microbackend.ui.sdl.videoMode:SW
# X11 backend configuration.
# Display value examples: :0.0, 192.168.0.1:1.0
org.thenesis.microbackend.ui.x11.Display::0.0
# Linux Framebuffer (FB) backend configuration
# (see /proc/bus/input/devices to know which special files are
# associated with your mouse or touchscreen)
org.thenesis.microbackend.ui.fb.framebufferDevice:/dev/fb0
org.thenesis.microbackend.ui.fb.keyboardDevice:/dev/tty
org.thenesis.microbackend.ui.fb.mouseDevice:/dev/input/event1
org.thenesis.microbackend.ui.fb.touchscreenDevice:/dev/input/event2
# Possible fontRenderer values: raw, BDF
org.thenesis.midpath.ui.fontRenderer:raw
org.thenesis.midpath.font.bdf.filename:VeraMono-12-8.bdf
##==========================
## Parameters for the sound
##==========================
# Sound configuration (possible values: SDL, virtual)
# The "player" parameter should be set to "virtual" unless you know what you do.
# The virtual engine requires this hardware configuration: 16 bits, stereo, little endian
org.thenesis.midpath.sound.engine:virtual
# Possible sound backend values: NULL, ALSA, ESD, PulseAudio
org.thenesis.midpath.sound.backend:ALSA
org.thenesis.midpath.sound.device:default
org.thenesis.midpath.sound.sampleRate:44100
# Buffer size MUST be a power of two
org.thenesis.midpath.sound.bufferSize:8192
##======================================
## IO parameters
##======================================
# IO (file, socket) backends (possible values: J2SE, CLDC)
com.sun.midp.io.backend:J2SE
# The RMS root path (if not defined, records are read/written in the current directory)
com.sun.midp.rms.rootPath:/home/root/
##======================================
## Location (JSR179)
##======================================
# Location mode (possible values: GPS, KML, LMS, NMEA)
org.thenesis.midpath.location.mode:GPS
# Resource file URI (KML and NMEA mode only)
# Examples:
# -Load a KML file in the "res" package from the java classloader:
# org.thenesis.midpath.location.resource.uri:/res/location.kml
# -Load a NMEA file from the file system:
# org.thenesis.midpath.location.resource.uri:file:////absolute/path/to/location.kml
org.thenesis.midpath.location.resource.uri:
# Resource poll interval in milliseconds (KML, LMS, NMEA mode only)
org.thenesis.midpath.location.resource.pollInterval:5000
##======================================
## Messaging (JSR120, JSR205)
##======================================
# SMS backend (possible values: NULL)
org.thenesis.midpath.messaging.backend:NULL
##======================================
## MIDlet Suite Manager (J2SE only)
##======================================
# The MIDlet repository path (if not defined, MIDlets are searched in the current directory)
org.thenesis.midpath.main.repositoryPath:/usr/share/midpath/repository
##======================================
## Event parameters
##======================================
javax.microedition.lcdui.pointerSupported:true
javax.microedition.lcdui.pointerMotionSupported:true
##======================================
## Key mapping
## (AWT codes are used by convention - see java.awt.event.KeyEvent javadocs)
##======================================
# 4
org.thenesis.midpath.ui.keys.LEFT:52
# 2
org.thenesis.midpath.ui.keys.UP:50
# 6
org.thenesis.midpath.ui.keys.RIGHT:54
# 8
org.thenesis.midpath.ui.keys.DOWN:56
# 1
org.thenesis.midpath.ui.keys.GAME_A:49
# 3
org.thenesis.midpath.ui.keys.GAME_B:51
# 7
org.thenesis.midpath.ui.keys.GAME_C:55
# 9
org.thenesis.midpath.ui.keys.GAME_D:57
# 5
org.thenesis.midpath.ui.keys.FIRE:53
# 0
org.thenesis.midpath.ui.keys.SOFT_BUTTON1:48
# pound/sign/#
org.thenesis.midpath.ui.keys.SOFT_BUTTON2:520
# unmapped
org.thenesis.midpath.ui.keys.STAR:0
org.thenesis.midpath.ui.keys.POUND:0
org.thenesis.midpath.ui.keys.DELETE:8
org.thenesis.midpath.ui.keys.END:39
org.thenesis.midpath.ui.keys.POWER:0
|