2004-10-17 00:54:09 +00:00
|
|
|
/* plugins common to all models */
|
2012-01-03 23:44:38 +00:00
|
|
|
#if !defined(SIMULATOR) && (CONFIG_BATTERY_MEASURE != 0)
|
2011-12-31 13:35:19 +00:00
|
|
|
battery_bench.c
|
|
|
|
#endif
|
2021-11-11 05:05:29 +00:00
|
|
|
#ifdef HAVE_TAGCACHE
|
|
|
|
db_folder_select.c
|
|
|
|
#endif
|
2004-10-23 00:05:42 +00:00
|
|
|
chessclock.c
|
2005-09-02 05:39:09 +00:00
|
|
|
credits.c
|
2005-02-10 21:28:21 +00:00
|
|
|
cube.c
|
2006-02-24 00:51:37 +00:00
|
|
|
dict.c
|
2007-07-25 09:38:55 +00:00
|
|
|
jackpot.c
|
2008-07-07 14:04:18 +00:00
|
|
|
keybox.c
|
Add custom action mapping to core
results of an idea I discussed in IRC
changed the way the lookup in the remap file works..
entries consist of 3 int [action, button, prebtn]
context look up table is at the beginning
action_code contains the (context | CONTEXT_REMAPPED)
button_code contains the index of the first remapped action for the matched context
[0] CORE_CONTEXT_REMAP(ctx1) offset1=(3), count=(1)
[1] CORE_CONTEXT_REMAP(ctx2, offset2=(5), count=(1)
[2] sentinel, 0, 0
[3] act0, btn, 0
[4] sentinel 0, 0
[5] act1, btn, 0
[6] sentinel, 0, 0
Note:
last entry of each group is always the sentinel [CONTEXT_STOPSEARCHING, BUTTON_NONE, BUTTON_NONE]
contexts must match exactly -- re-mapped contexts run before the built in w/ fall through contexts
ie. you can't remap std_context and expect it to match std_context actions from the WPS context.
-- Done --
Code for reading core remap entries
-- Done --
import of core remap entires from disk
-- Done --
plugin to set new key mapping (the hard part)
The plugin is started and FULLY functional
you can add actions and contexts
you can change context, action, button, prebtn
delete keymap files
load keymapfiles
save user keymaps
test keymaps before applying them
loading keymaps to core still requires restart
-----------------------------------------------------------------------------------------------
Change-Id: Ib8b88c5ae91af4d540e1829de5db32669cd68203
2021-04-03 01:34:29 +00:00
|
|
|
keyremap.c
|
2022-03-25 13:33:10 +00:00
|
|
|
lastfm_scrobbler.c
|
2005-03-05 22:45:04 +00:00
|
|
|
logo.c
|
2010-06-05 11:54:40 +00:00
|
|
|
lrcplayer.c
|
2005-02-11 19:48:52 +00:00
|
|
|
mosaique.c
|
2014-02-13 11:01:13 +00:00
|
|
|
main_menu_config.c
|
2006-11-30 22:29:48 +00:00
|
|
|
properties.c
|
2006-10-09 10:54:17 +00:00
|
|
|
random_folder_advance_config.c
|
2021-11-13 01:50:20 +00:00
|
|
|
rb_info.c
|
2006-10-07 20:00:49 +00:00
|
|
|
rockblox.c
|
2006-04-02 13:21:05 +00:00
|
|
|
search.c
|
2008-10-26 11:44:21 +00:00
|
|
|
settings_dumper.c
|
2005-02-12 01:36:33 +00:00
|
|
|
snow.c
|
2004-10-05 07:58:54 +00:00
|
|
|
sort.c
|
2005-08-20 19:56:01 +00:00
|
|
|
stats.c
|
2009-12-16 14:23:13 +00:00
|
|
|
#ifdef HAVE_TOUCHSCREEN
|
|
|
|
stopwatch.lua
|
|
|
|
#else
|
2004-10-07 06:51:22 +00:00
|
|
|
stopwatch.c
|
2009-12-16 14:23:13 +00:00
|
|
|
#endif
|
2009-10-12 13:55:59 +00:00
|
|
|
theme_remove.c
|
2004-10-16 00:07:43 +00:00
|
|
|
vbrfix.c
|
2010-05-17 18:16:45 +00:00
|
|
|
md5sum.c
|
|
|
|
dice.c
|
|
|
|
disktidy.c
|
|
|
|
flipit.c
|
2010-08-18 09:23:06 +00:00
|
|
|
shopper.c
|
2010-10-02 14:11:40 +00:00
|
|
|
resistor.c
|
2016-05-26 01:43:32 +00:00
|
|
|
otp.c
|
2017-09-15 21:43:41 +00:00
|
|
|
windows_lnk.c
|
2010-05-17 18:16:45 +00:00
|
|
|
|
|
|
|
#ifdef USB_ENABLE_HID
|
|
|
|
remote_control.c
|
|
|
|
#endif
|
|
|
|
|
2008-04-23 21:15:07 +00:00
|
|
|
#ifdef HAVE_BACKLIGHT
|
2008-05-07 21:59:45 +00:00
|
|
|
lamp.c
|
2008-04-23 21:15:07 +00:00
|
|
|
#endif /* HAVE_BACKLIGHT */
|
2010-05-17 18:16:45 +00:00
|
|
|
|
|
|
|
#if defined(HAVE_RECORDING) && (defined(HAVE_LINE_IN) || defined(HAVE_MIC_IN))
|
|
|
|
pitch_detector.c
|
|
|
|
#endif
|
|
|
|
|
2021-08-20 02:20:56 +00:00
|
|
|
#ifdef HAVE_PITCHCONTROL
|
|
|
|
pitch_screen.c
|
|
|
|
#endif
|
|
|
|
|
2010-05-17 18:16:45 +00:00
|
|
|
mp3_encoder.c
|
|
|
|
wav2wv.c
|
|
|
|
|
|
|
|
#if CONFIG_RTC
|
|
|
|
alarmclock.c
|
|
|
|
#endif /* CONFIG_RTC */
|
|
|
|
|
|
|
|
/* Platform-specific */
|
|
|
|
#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)
|
|
|
|
iriverify.c
|
|
|
|
#endif
|
|
|
|
|
2020-10-09 13:03:57 +00:00
|
|
|
#if (CONFIG_PLATFORM & PLATFORM_NATIVE) /* Requires real hardware */
|
2020-10-25 23:48:26 +00:00
|
|
|
#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)
|
2020-10-09 11:35:00 +00:00
|
|
|
iriver_flash.c
|
|
|
|
#endif
|
2010-05-17 18:16:45 +00:00
|
|
|
|
2020-10-09 11:35:00 +00:00
|
|
|
#if defined(IPOD_NANO2G)
|
|
|
|
crypt_firmware.c
|
|
|
|
#endif
|
2020-10-09 13:03:57 +00:00
|
|
|
#endif
|
2010-05-17 18:16:45 +00:00
|
|
|
|
2010-05-18 12:46:53 +00:00
|
|
|
/* Overlays loaders */
|
2016-11-20 20:16:41 +00:00
|
|
|
|
2022-09-30 09:25:28 +00:00
|
|
|
#if defined(HAVE_LCD_COLOR) && (LCD_STRIDEFORMAT == HORIZONTAL_STRIDE)
|
2020-10-09 13:03:57 +00:00
|
|
|
#if (PLUGIN_BUFFER_SIZE > 0x14000) && (CONFIG_PLATFORM & (PLATFORM_NATIVE |PLATFORM_HOSTED)) && (defined(CPU_ARM) || defined(CPU_MIPS))
|
2017-01-21 20:18:31 +00:00
|
|
|
duke3d.c
|
2018-02-11 20:34:30 +00:00
|
|
|
quake.c
|
2019-07-08 02:00:20 +00:00
|
|
|
wolf3d.c
|
2017-01-21 20:18:31 +00:00
|
|
|
#endif
|
2017-12-24 22:43:30 +00:00
|
|
|
#endif
|
2017-01-21 20:18:31 +00:00
|
|
|
|
2020-07-17 14:31:31 +00:00
|
|
|
#if PLUGIN_BUFFER_SIZE <= 0x20000
|
2010-05-17 18:16:45 +00:00
|
|
|
|
2020-07-15 23:40:55 +00:00
|
|
|
#if CONFIG_KEYPAD != SANSA_M200_PAD \
|
2012-03-23 18:32:50 +00:00
|
|
|
&& CONFIG_KEYPAD != HM60X_PAD
|
2010-05-18 14:14:53 +00:00
|
|
|
/* not enough buttons for rockboy */
|
2010-05-17 18:16:45 +00:00
|
|
|
rockboy.c
|
|
|
|
#endif
|
|
|
|
|
2010-05-18 12:46:53 +00:00
|
|
|
zxbox.c
|
|
|
|
chessbox.c
|
2010-05-17 18:16:45 +00:00
|
|
|
goban.c
|
|
|
|
pictureflow.c
|
2010-05-18 12:46:53 +00:00
|
|
|
|
2020-07-17 14:31:31 +00:00
|
|
|
#endif /* PLUGIN_BUFFER_SIZE <= 0x20000 */
|
2010-05-17 18:16:45 +00:00
|
|
|
|
2010-11-02 21:30:19 +00:00
|
|
|
metronome.c
|
|
|
|
|
2014-08-19 20:48:23 +00:00
|
|
|
2048.c
|
2017-03-11 22:00:47 +00:00
|
|
|
|
2011-05-17 22:29:36 +00:00
|
|
|
/* Lua needs at least 160 KB to work in */
|
|
|
|
#if PLUGIN_BUFFER_SIZE >= 0x80000
|
2010-02-16 21:31:16 +00:00
|
|
|
boomshine.lua
|
2019-07-26 06:30:00 +00:00
|
|
|
lua_scripts.lua
|
2016-09-22 23:25:32 +00:00
|
|
|
#ifdef HAVE_LCD_COLOR
|
|
|
|
pixel-painter.lua
|
|
|
|
#endif /* HAVE_LCD_COLOR */
|
|
|
|
#endif /* PLUGIN_BUFFER_SIZE >= 0x80000 */
|
2011-05-17 22:29:36 +00:00
|
|
|
|
2008-06-28 15:16:43 +00:00
|
|
|
rockblox1d.c
|
2007-12-30 14:56:51 +00:00
|
|
|
brickmania.c
|
2009-12-14 21:51:42 +00:00
|
|
|
calendar.c
|
2007-06-28 21:13:04 +00:00
|
|
|
maze.c
|
2009-12-18 14:17:28 +00:00
|
|
|
mazezam.c
|
2006-04-03 08:51:08 +00:00
|
|
|
text_editor.c
|
2007-04-09 22:23:25 +00:00
|
|
|
wavview.c
|
2007-10-22 14:35:05 +00:00
|
|
|
robotfindskitten.c
|
2010-05-17 18:16:45 +00:00
|
|
|
xobox.c
|
|
|
|
spacerocks.c
|
2008-06-30 19:27:06 +00:00
|
|
|
|
2007-01-16 21:05:15 +00:00
|
|
|
blackjack.c
|
2004-10-17 00:54:09 +00:00
|
|
|
bounce.c
|
2006-03-20 03:06:07 +00:00
|
|
|
bubbles.c
|
2004-10-17 00:54:09 +00:00
|
|
|
calculator.c
|
|
|
|
chip8.c
|
2007-02-16 01:23:48 +00:00
|
|
|
chopper.c
|
2005-10-07 22:22:07 +00:00
|
|
|
demystify.c
|
2006-03-20 03:06:07 +00:00
|
|
|
jewels.c
|
2004-10-18 21:45:00 +00:00
|
|
|
minesweeper.c
|
2020-08-17 15:05:26 +00:00
|
|
|
open_plugins.c
|
2004-11-07 10:31:39 +00:00
|
|
|
oscilloscope.c
|
2008-04-03 22:43:39 +00:00
|
|
|
pegbox.c
|
2014-09-16 22:28:04 +00:00
|
|
|
periodic_table.c
|
2004-10-18 21:45:00 +00:00
|
|
|
pong.c
|
|
|
|
sliding_puzzle.c
|
|
|
|
snake.c
|
|
|
|
snake2.c
|
2006-02-24 00:51:37 +00:00
|
|
|
solitaire.c
|
2004-10-18 21:45:00 +00:00
|
|
|
sokoban.c
|
2004-10-22 00:22:07 +00:00
|
|
|
star.c
|
2005-11-28 08:26:05 +00:00
|
|
|
starfield.c
|
2004-10-22 00:22:07 +00:00
|
|
|
vu_meter.c
|
2006-03-13 07:05:15 +00:00
|
|
|
wormlet.c
|
2004-10-17 00:54:09 +00:00
|
|
|
|
2020-07-15 16:00:09 +00:00
|
|
|
#ifdef HAVE_HOTKEY
|
|
|
|
announce_status.c
|
|
|
|
#endif
|
|
|
|
|
2022-04-16 15:06:13 +00:00
|
|
|
/* can't build in the sim for some reason */
|
|
|
|
#if defined(HAVE_MULTIBOOT) && !defined(SIMULATOR)
|
2022-04-16 11:13:19 +00:00
|
|
|
multiboot_select.c
|
|
|
|
#endif
|
|
|
|
|
2020-07-15 16:00:09 +00:00
|
|
|
|
2010-08-25 19:00:58 +00:00
|
|
|
/* Plugins needing the grayscale lib on low-depth LCDs */
|
|
|
|
fire.c
|
|
|
|
plasma.c
|
|
|
|
|
2010-05-17 18:16:45 +00:00
|
|
|
#ifdef HAVE_LCD_COLOR
|
|
|
|
clix.c
|
|
|
|
codebuster.c
|
2009-02-20 23:14:09 +00:00
|
|
|
#endif
|
|
|
|
|
2006-03-12 09:35:53 +00:00
|
|
|
#if (LCD_WIDTH > 112) && (LCD_HEIGHT > 64)
|
2007-01-01 12:44:05 +00:00
|
|
|
fireworks.c
|
2006-03-12 09:35:53 +00:00
|
|
|
#endif
|
2010-05-17 18:16:45 +00:00
|
|
|
|
2014-06-18 05:15:00 +00:00
|
|
|
#if LCD_DEPTH == 16
|
|
|
|
/* FIXME: make it work with 24bit (needs lot of memory) */
|
rockpaint.c: Paint plugin for color LCD targets. Features include: different tools (brush, bucket, cut/copy/paste, line, bezier curve, text, rectangles, ovals, linear and radial gradients), 18 color palette, RGBHSV color picker, BMP file loading and saving. This still needs some work (and maybe some, if not a lot, of cleaning up of the source code) but it works fine (tested on h3x0 and ipod5g sims and ipod5g real target).
viewers.config: add rockpaint to the list of available viewers for .bmp files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10258 a1c6a512-1295-4272-9138-f99709370657
2006-07-19 20:11:02 +00:00
|
|
|
rockpaint.c
|
|
|
|
#endif
|
|
|
|
|
2007-06-29 19:40:03 +00:00
|
|
|
rocklife.c
|
2010-05-17 18:16:45 +00:00
|
|
|
|
2007-11-27 01:43:28 +00:00
|
|
|
#if LCD_DEPTH > 1 /* non-mono bitmap targets */
|
2007-12-09 18:48:02 +00:00
|
|
|
|
2010-05-17 18:16:45 +00:00
|
|
|
matrix.c
|
2017-03-15 19:19:00 +00:00
|
|
|
speedread.c
|
2006-03-31 19:51:12 +00:00
|
|
|
|
2010-05-17 18:16:45 +00:00
|
|
|
#if (LCD_WIDTH > 138)
|
2008-03-01 23:18:32 +00:00
|
|
|
invadrox.c
|
2007-08-02 12:55:14 +00:00
|
|
|
superdom.c
|
|
|
|
#endif
|
2008-06-10 13:20:05 +00:00
|
|
|
|
2010-05-17 18:16:45 +00:00
|
|
|
#endif /* LCD_DEPTH > 1 */
|
|
|
|
|
2009-05-21 19:01:41 +00:00
|
|
|
|
2010-04-05 16:09:47 +00:00
|
|
|
|
2011-02-20 16:14:41 +00:00
|
|
|
#ifdef HAVE_TEST_PLUGINS /* enable in advanced build options */
|
2010-04-12 11:09:07 +00:00
|
|
|
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
2010-04-05 16:09:47 +00:00
|
|
|
test_boost.c
|
2010-04-12 11:09:07 +00:00
|
|
|
#endif
|
2010-04-05 16:09:47 +00:00
|
|
|
test_codec.c
|
2010-04-12 11:09:07 +00:00
|
|
|
#ifdef HAVE_JPEG
|
2010-04-05 16:09:47 +00:00
|
|
|
test_core_jpeg.c
|
2010-04-12 11:09:07 +00:00
|
|
|
#endif
|
2010-04-05 16:09:47 +00:00
|
|
|
test_disk.c
|
2010-08-25 19:00:58 +00:00
|
|
|
test_fps.c
|
2010-04-05 16:09:47 +00:00
|
|
|
test_gfx.c
|
2022-04-07 02:57:05 +00:00
|
|
|
test_kbd.c
|
2010-08-25 19:00:58 +00:00
|
|
|
#if LCD_DEPTH < 4 && !defined(SIMULATOR)
|
|
|
|
test_scanrate.c
|
|
|
|
#endif
|
2010-04-05 16:09:47 +00:00
|
|
|
#ifndef HAVE_LCD_COLOR
|
|
|
|
test_grey.c
|
|
|
|
test_greylib_bitmap_scale.c
|
|
|
|
#endif
|
|
|
|
test_mem.c
|
|
|
|
test_mem_jpeg.c
|
2010-04-12 11:09:07 +00:00
|
|
|
#ifdef HAVE_LCD_COLOR
|
2010-04-05 16:09:47 +00:00
|
|
|
test_resize.c
|
2010-04-12 11:09:07 +00:00
|
|
|
#endif
|
2010-04-05 16:09:47 +00:00
|
|
|
test_sampr.c
|
|
|
|
#ifdef HAVE_TOUCHSCREEN
|
|
|
|
test_touchscreen.c
|
|
|
|
#endif
|
2022-05-21 13:58:55 +00:00
|
|
|
test_usb.c
|
2010-04-05 16:09:47 +00:00
|
|
|
test_viewports.c
|
2010-08-25 19:00:58 +00:00
|
|
|
#endif /* HAVE_TEST_PLUGINS */
|