diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/CATEGORIES | 1 | ||||
-rw-r--r-- | apps/plugins/SOURCES | 4 | ||||
-rw-r--r-- | apps/plugins/SUBDIRS | 2 | ||||
-rw-r--r-- | apps/plugins/lib/gray_core.c | 4 | ||||
-rw-r--r-- | apps/plugins/lib/grey_core.c | 4 | ||||
-rw-r--r-- | apps/plugins/lib/pluginlib_actions.c | 9 |
6 files changed, 16 insertions, 8 deletions
diff --git a/apps/plugins/CATEGORIES b/apps/plugins/CATEGORIES index ee28614da0..4b267c162b 100644 --- a/apps/plugins/CATEGORIES +++ b/apps/plugins/CATEGORIES | |||
@@ -1,3 +1,4 @@ | |||
1 | autostart,apps | ||
1 | matrix,demos | 2 | matrix,demos |
2 | alpine_cdc,apps | 3 | alpine_cdc,apps |
3 | battery_bench,apps | 4 | battery_bench,apps |
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index 94985579bc..383e32092a 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES | |||
@@ -1,3 +1,6 @@ | |||
1 | autostart.c | ||
2 | #ifndef OLYMPUS_MROBE_100 | ||
3 | |||
1 | /* plugins common to all models */ | 4 | /* plugins common to all models */ |
2 | battery_bench.c | 5 | battery_bench.c |
3 | chessclock.c | 6 | chessclock.c |
@@ -151,3 +154,4 @@ iriver_flash.c | |||
151 | superdom.c | 154 | superdom.c |
152 | #endif | 155 | #endif |
153 | #endif /* m:robe 500 */ | 156 | #endif /* m:robe 500 */ |
157 | #endif /* m:robe 100 */ | ||
diff --git a/apps/plugins/SUBDIRS b/apps/plugins/SUBDIRS index 12b38cea75..42e6331b06 100644 --- a/apps/plugins/SUBDIRS +++ b/apps/plugins/SUBDIRS | |||
@@ -1,4 +1,4 @@ | |||
1 | #if !defined(IRIVER_IFP7XX_SERIES) | 1 | #if !defined(IRIVER_IFP7XX_SERIES) && !defined(OLYMPUS_MROBE_100) |
2 | 2 | ||
3 | /* For all targets */ | 3 | /* For all targets */ |
4 | shortcuts | 4 | shortcuts |
diff --git a/apps/plugins/lib/gray_core.c b/apps/plugins/lib/gray_core.c index d8dddb3240..e28d56e84d 100644 --- a/apps/plugins/lib/gray_core.c +++ b/apps/plugins/lib/gray_core.c | |||
@@ -40,9 +40,9 @@ struct _gray_info _gray_info; /* global info structure */ | |||
40 | #ifndef SIMULATOR | 40 | #ifndef SIMULATOR |
41 | short _gray_random_buffer; /* buffer for random number generator */ | 41 | short _gray_random_buffer; /* buffer for random number generator */ |
42 | 42 | ||
43 | #if CONFIG_LCD == LCD_SSD1815 || CONFIG_LCD == LCD_IFP7XX | 43 | #if CONFIG_LCD == LCD_SSD1815 || CONFIG_LCD == LCD_IFP7XX || CONFIG_LCD == LCD_MROBE100 |
44 | /* measured and interpolated curve */ | 44 | /* measured and interpolated curve */ |
45 | /* TODO: check for iFP */ | 45 | /* TODO: check for iFP & m:robe 100 */ |
46 | static const unsigned char lcdlinear[256] = { | 46 | static const unsigned char lcdlinear[256] = { |
47 | 0, 3, 5, 8, 11, 13, 16, 18, | 47 | 0, 3, 5, 8, 11, 13, 16, 18, |
48 | 21, 23, 26, 28, 31, 33, 36, 38, | 48 | 21, 23, 26, 28, 31, 33, 36, 38, |
diff --git a/apps/plugins/lib/grey_core.c b/apps/plugins/lib/grey_core.c index 5ba5f41404..0fa7e28eb9 100644 --- a/apps/plugins/lib/grey_core.c +++ b/apps/plugins/lib/grey_core.c | |||
@@ -36,9 +36,9 @@ struct _grey_info _grey_info; /* global info structure */ | |||
36 | 36 | ||
37 | #ifndef SIMULATOR | 37 | #ifndef SIMULATOR |
38 | 38 | ||
39 | #if CONFIG_LCD == LCD_SSD1815 || CONFIG_LCD == LCD_IFP7XX | 39 | #if CONFIG_LCD == LCD_SSD1815 || CONFIG_LCD == LCD_IFP7XX || CONFIG_LCD == LCD_MROBE100 |
40 | /* measured and interpolated curve */ | 40 | /* measured and interpolated curve */ |
41 | /* TODO: check for iFP */ | 41 | /* TODO: check for iFP & m:robe 100 */ |
42 | static const unsigned char lcdlinear[256] = { | 42 | static const unsigned char lcdlinear[256] = { |
43 | 0, 3, 5, 8, 11, 13, 16, 18, | 43 | 0, 3, 5, 8, 11, 13, 16, 18, |
44 | 21, 23, 26, 28, 31, 33, 36, 38, | 44 | 21, 23, 26, 28, 31, 33, 36, 38, |
diff --git a/apps/plugins/lib/pluginlib_actions.c b/apps/plugins/lib/pluginlib_actions.c index baf7440397..d277fe6d0d 100644 --- a/apps/plugins/lib/pluginlib_actions.c +++ b/apps/plugins/lib/pluginlib_actions.c | |||
@@ -111,7 +111,8 @@ const struct button_mapping generic_directions[] = | |||
111 | {PLA_DOWN_REPEAT, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_NONE}, | 111 | {PLA_DOWN_REPEAT, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_NONE}, |
112 | {PLA_LEFT_REPEAT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE}, | 112 | {PLA_LEFT_REPEAT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE}, |
113 | {PLA_RIGHT_REPEAT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE}, | 113 | {PLA_RIGHT_REPEAT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE}, |
114 | #elif (CONFIG_KEYPAD == IRIVER_H10_PAD) | 114 | #elif (CONFIG_KEYPAD == IRIVER_H10_PAD) \ |
115 | || (CONFIG_KEYPAD == MROBE100_PAD) | ||
115 | { PLA_UP, BUTTON_SCROLL_UP, BUTTON_NONE}, | 116 | { PLA_UP, BUTTON_SCROLL_UP, BUTTON_NONE}, |
116 | { PLA_DOWN, BUTTON_SCROLL_DOWN, BUTTON_NONE}, | 117 | { PLA_DOWN, BUTTON_SCROLL_DOWN, BUTTON_NONE}, |
117 | { PLA_LEFT, BUTTON_LEFT, BUTTON_NONE}, | 118 | { PLA_LEFT, BUTTON_LEFT, BUTTON_NONE}, |
@@ -193,7 +194,8 @@ const struct button_mapping generic_left_right_fire[] = | |||
193 | { PLA_RIGHT_REPEAT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE}, | 194 | { PLA_RIGHT_REPEAT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE}, |
194 | { PLA_FIRE, BUTTON_SELECT, BUTTON_NONE}, | 195 | { PLA_FIRE, BUTTON_SELECT, BUTTON_NONE}, |
195 | { PLA_FIRE_REPEAT, BUTTON_SELECT|BUTTON_REPEAT,BUTTON_NONE}, | 196 | { PLA_FIRE_REPEAT, BUTTON_SELECT|BUTTON_REPEAT,BUTTON_NONE}, |
196 | #elif (CONFIG_KEYPAD == IRIVER_H10_PAD) | 197 | #elif (CONFIG_KEYPAD == IRIVER_H10_PAD) \ |
198 | || (CONFIG_KEYPAD == MROBE100_PAD) | ||
197 | { PLA_LEFT, BUTTON_LEFT, BUTTON_NONE}, | 199 | { PLA_LEFT, BUTTON_LEFT, BUTTON_NONE}, |
198 | { PLA_RIGHT, BUTTON_RIGHT, BUTTON_NONE}, | 200 | { PLA_RIGHT, BUTTON_RIGHT, BUTTON_NONE}, |
199 | { PLA_LEFT_REPEAT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE}, | 201 | { PLA_LEFT_REPEAT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE}, |
@@ -286,7 +288,8 @@ const struct button_mapping generic_actions[] = | |||
286 | {PLA_MENU, BUTTON_DOWN, BUTTON_NONE}, | 288 | {PLA_MENU, BUTTON_DOWN, BUTTON_NONE}, |
287 | {PLA_FIRE, BUTTON_SELECT, BUTTON_NONE}, | 289 | {PLA_FIRE, BUTTON_SELECT, BUTTON_NONE}, |
288 | {PLA_FIRE_REPEAT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE}, | 290 | {PLA_FIRE_REPEAT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE}, |
289 | #elif CONFIG_KEYPAD == IRIVER_H10_PAD | 291 | #elif CONFIG_KEYPAD == IRIVER_H10_PAD \ |
292 | || (CONFIG_KEYPAD == MROBE100_PAD) | ||
290 | {PLA_QUIT, BUTTON_POWER, BUTTON_NONE}, | 293 | {PLA_QUIT, BUTTON_POWER, BUTTON_NONE}, |
291 | {PLA_START, BUTTON_PLAY, BUTTON_NONE}, | 294 | {PLA_START, BUTTON_PLAY, BUTTON_NONE}, |
292 | {PLA_MENU, BUTTON_FF, BUTTON_NONE}, | 295 | {PLA_MENU, BUTTON_FF, BUTTON_NONE}, |