2014-06-29 18:49:07 +00:00
|
|
|
2048,games
|
2007-08-06 13:42:52 +00:00
|
|
|
alpine_cdc,apps
|
2010-02-25 14:45:06 +00:00
|
|
|
alarmclock,apps
|
2020-07-15 16:00:09 +00:00
|
|
|
announce_status,demos
|
2008-06-28 15:21:59 +00:00
|
|
|
autostart,apps
|
2007-08-06 13:42:52 +00:00
|
|
|
battery_bench,apps
|
2009-05-18 20:21:03 +00:00
|
|
|
bench_scaler,apps
|
2007-08-06 13:42:52 +00:00
|
|
|
blackjack,games
|
2010-02-18 15:10:31 +00:00
|
|
|
bmp,viewers
|
2009-10-28 23:05:11 +00:00
|
|
|
boomshine,games
|
2007-08-06 13:42:52 +00:00
|
|
|
bounce,demos
|
|
|
|
brickmania,games
|
|
|
|
bubbles,games
|
|
|
|
calculator,apps
|
|
|
|
calendar,apps
|
|
|
|
chessbox,games
|
|
|
|
chessclock,apps
|
|
|
|
chip8,viewers
|
|
|
|
chopper,games
|
2009-07-08 17:42:37 +00:00
|
|
|
clix,games
|
2007-08-06 13:42:52 +00:00
|
|
|
clock,apps
|
2009-10-24 18:54:48 +00:00
|
|
|
codebuster,games
|
2007-08-06 13:42:52 +00:00
|
|
|
credits,viewers
|
|
|
|
cube,demos
|
2021-11-11 05:05:29 +00:00
|
|
|
db_folder_select,viewers
|
2007-08-06 13:42:52 +00:00
|
|
|
demystify,demos
|
|
|
|
dice,games
|
|
|
|
dict,apps
|
|
|
|
disktidy,apps
|
2008-06-28 15:21:59 +00:00
|
|
|
doom,games
|
2017-01-21 20:18:31 +00:00
|
|
|
duke3d,games
|
2007-08-06 13:42:52 +00:00
|
|
|
euroconverter,apps
|
2010-02-10 19:44:11 +00:00
|
|
|
fft,demos
|
2007-08-06 13:42:52 +00:00
|
|
|
fire,demos
|
|
|
|
fireworks,demos
|
|
|
|
firmware_flash,apps
|
|
|
|
flipit,games
|
2010-01-17 22:15:13 +00:00
|
|
|
frotz,viewers
|
2009-02-11 16:42:50 +00:00
|
|
|
goban,games
|
2008-01-04 23:42:38 +00:00
|
|
|
greyscale,demos
|
2007-08-06 13:42:52 +00:00
|
|
|
helloworld,demos
|
2010-11-21 13:47:56 +00:00
|
|
|
imageviewer,viewers
|
2007-08-06 13:42:52 +00:00
|
|
|
invadrox,games
|
|
|
|
iriver_flash,apps
|
|
|
|
iriverify,viewers
|
|
|
|
jackpot,games
|
|
|
|
jewels,games
|
|
|
|
jpeg,viewers
|
2008-07-07 14:04:18 +00:00
|
|
|
keybox,apps
|
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,apps
|
2008-06-28 15:21:59 +00:00
|
|
|
lamp,apps
|
2022-03-25 13:33:10 +00:00
|
|
|
lastfm_scrobbler,apps
|
2007-08-06 13:42:52 +00:00
|
|
|
logo,demos
|
2010-06-05 11:54:40 +00:00
|
|
|
lrcplayer,apps
|
2009-05-21 19:01:41 +00:00
|
|
|
lua,viewers
|
2019-07-26 06:30:00 +00:00
|
|
|
lua_scripts,demos
|
2010-01-15 05:53:15 +00:00
|
|
|
fractals,demos
|
2014-02-13 11:01:13 +00:00
|
|
|
main_menu_config,apps
|
2008-06-28 15:21:59 +00:00
|
|
|
matrix,demos
|
2007-08-06 13:42:52 +00:00
|
|
|
maze,games
|
|
|
|
mazezam,games
|
2008-06-28 15:21:59 +00:00
|
|
|
md5sum,apps
|
2007-08-06 13:42:52 +00:00
|
|
|
mem_mon,apps
|
|
|
|
metronome,apps
|
|
|
|
midi2wav,viewers
|
2008-11-20 12:49:18 +00:00
|
|
|
midi,viewers
|
2010-12-12 15:03:30 +00:00
|
|
|
mikmod,viewers
|
2007-08-06 13:42:52 +00:00
|
|
|
minesweeper,games
|
|
|
|
mosaique,demos
|
|
|
|
mp3_encoder,apps
|
|
|
|
mpegplayer,viewers
|
|
|
|
nim,games
|
2020-08-17 15:05:26 +00:00
|
|
|
open_plugins,viewers
|
2007-08-06 13:42:52 +00:00
|
|
|
oscilloscope,demos
|
2016-05-26 01:43:32 +00:00
|
|
|
otp,apps
|
2007-08-06 13:42:52 +00:00
|
|
|
pacbox,games
|
2009-07-12 17:53:25 +00:00
|
|
|
pdbox,viewers
|
2008-04-03 22:43:39 +00:00
|
|
|
pegbox,games
|
2014-09-05 23:45:10 +00:00
|
|
|
periodic_table,apps
|
2007-12-09 18:48:02 +00:00
|
|
|
pictureflow,demos
|
2009-09-08 16:45:05 +00:00
|
|
|
pitch_detector,apps
|
2021-08-20 02:20:56 +00:00
|
|
|
pitch_screen,viewers
|
2016-09-22 23:25:32 +00:00
|
|
|
pixel-painter,games
|
2007-08-06 13:42:52 +00:00
|
|
|
plasma,demos
|
2009-07-25 21:36:11 +00:00
|
|
|
png,viewers
|
2012-11-02 12:03:58 +00:00
|
|
|
gif,viewers
|
2007-08-06 13:42:52 +00:00
|
|
|
pong,games
|
2011-01-09 13:22:54 +00:00
|
|
|
ppm,viewers
|
2007-08-06 13:42:52 +00:00
|
|
|
properties,viewers
|
2018-02-11 20:34:30 +00:00
|
|
|
quake,games
|
2007-08-06 13:42:52 +00:00
|
|
|
random_folder_advance_config,apps
|
2021-11-13 01:50:20 +00:00
|
|
|
rb_info,demos
|
2009-07-18 12:58:29 +00:00
|
|
|
remote_control,apps
|
2010-10-02 14:11:40 +00:00
|
|
|
resistor,apps
|
2007-08-06 13:42:52 +00:00
|
|
|
reversi,games
|
2007-10-05 20:02:32 +00:00
|
|
|
robotfindskitten,games
|
2007-08-06 13:42:52 +00:00
|
|
|
rockblox,games
|
2008-06-28 15:16:43 +00:00
|
|
|
rockblox1d,games
|
2007-08-06 13:42:52 +00:00
|
|
|
rockbox_flash,viewers
|
|
|
|
rockboy,viewers
|
2012-02-05 00:16:20 +00:00
|
|
|
rocklife,demos
|
2007-08-06 13:42:52 +00:00
|
|
|
rockpaint,apps
|
|
|
|
search,viewers
|
|
|
|
searchengine,viewers
|
2008-10-26 11:44:21 +00:00
|
|
|
settings_dumper,apps
|
2016-11-20 20:16:41 +00:00
|
|
|
sgt-blackbox,games
|
|
|
|
sgt-bridges,games
|
|
|
|
sgt-cube,games
|
|
|
|
sgt-dominosa,games
|
|
|
|
sgt-fifteen,games
|
|
|
|
sgt-filling,games
|
|
|
|
sgt-flip,games
|
|
|
|
sgt-flood,games
|
|
|
|
sgt-galaxies,games
|
2017-01-05 01:31:06 +00:00
|
|
|
sgt-group,games
|
2016-11-20 20:16:41 +00:00
|
|
|
sgt-guess,games
|
|
|
|
sgt-inertia,games
|
|
|
|
sgt-keen,games
|
|
|
|
sgt-lightup,games
|
|
|
|
sgt-loopy,games
|
|
|
|
sgt-magnets,games
|
|
|
|
sgt-map,games
|
|
|
|
sgt-mines,games
|
|
|
|
sgt-net,games
|
|
|
|
sgt-netslide,games
|
|
|
|
sgt-palisade,games
|
|
|
|
sgt-pattern,games
|
|
|
|
sgt-pearl,games
|
|
|
|
sgt-pegs,games
|
2017-01-16 15:28:57 +00:00
|
|
|
sgt-puzzles,games
|
2016-11-20 20:16:41 +00:00
|
|
|
sgt-range,games
|
|
|
|
sgt-rect,games
|
|
|
|
sgt-samegame,games
|
2017-01-05 01:31:06 +00:00
|
|
|
sgt-separate,games
|
2016-11-20 20:16:41 +00:00
|
|
|
sgt-signpost,games
|
|
|
|
sgt-singles,games
|
|
|
|
sgt-sixteen,games
|
|
|
|
sgt-slant,games
|
2017-01-05 01:31:06 +00:00
|
|
|
sgt-slide,games
|
|
|
|
sgt-sokoban,games
|
2016-11-20 20:16:41 +00:00
|
|
|
sgt-solo,games
|
|
|
|
sgt-tents,games
|
|
|
|
sgt-towers,games
|
|
|
|
sgt-tracks,games
|
|
|
|
sgt-twiddle,games
|
|
|
|
sgt-undead,games
|
|
|
|
sgt-unequal,games
|
|
|
|
sgt-unruly,games
|
|
|
|
sgt-untangle,games
|
2010-08-18 09:10:37 +00:00
|
|
|
shopper,viewers
|
2007-09-03 22:24:26 +00:00
|
|
|
shortcuts_append,viewers
|
2008-06-28 15:21:59 +00:00
|
|
|
shortcuts_view,viewers
|
2007-08-06 13:42:52 +00:00
|
|
|
sliding_puzzle,games
|
|
|
|
snake,games
|
2008-06-28 15:21:59 +00:00
|
|
|
snake2,games
|
2007-08-06 13:42:52 +00:00
|
|
|
snow,demos
|
|
|
|
sokoban,games
|
|
|
|
solitaire,games
|
|
|
|
sort,viewers
|
|
|
|
spacerocks,games
|
|
|
|
splitedit,apps
|
2017-03-15 19:05:35 +00:00
|
|
|
speedread,viewers
|
2007-08-06 13:42:52 +00:00
|
|
|
star,games
|
|
|
|
starfield,demos
|
|
|
|
stats,apps
|
|
|
|
stopwatch,apps
|
2009-05-06 13:30:30 +00:00
|
|
|
sudoku,games
|
2010-04-01 17:50:36 +00:00
|
|
|
test_boost,apps
|
2010-04-03 14:04:50 +00:00
|
|
|
test_mem,apps
|
2007-08-06 13:42:52 +00:00
|
|
|
test_codec,viewers
|
2007-08-11 05:31:40 +00:00
|
|
|
test_disk,apps
|
|
|
|
test_fps,apps
|
2008-04-06 15:36:53 +00:00
|
|
|
test_grey,apps
|
2011-01-12 21:00:09 +00:00
|
|
|
test_gfx,apps
|
2022-04-07 02:57:05 +00:00
|
|
|
test_kbd,apps
|
2011-01-12 21:00:09 +00:00
|
|
|
test_resize,apps
|
2007-08-11 05:31:40 +00:00
|
|
|
test_sampr,apps
|
|
|
|
test_scanrate,apps
|
2008-08-23 09:46:38 +00:00
|
|
|
test_touchscreen,apps
|
2008-01-08 01:22:14 +00:00
|
|
|
test_viewports,apps
|
2008-12-26 07:05:13 +00:00
|
|
|
test_greylib_bitmap_scale,viewers
|
2007-08-06 13:42:52 +00:00
|
|
|
text_editor,apps
|
2010-06-05 10:30:08 +00:00
|
|
|
text_viewer,viewers
|
2009-10-12 13:55:59 +00:00
|
|
|
theme_remove,viewers
|
2007-08-06 13:42:52 +00:00
|
|
|
vbrfix,viewers
|
|
|
|
video,viewers
|
|
|
|
viewer,viewers
|
|
|
|
vu_meter,demos
|
|
|
|
wav2wv,viewers
|
|
|
|
wavplay,viewers
|
|
|
|
wavrecord,apps
|
|
|
|
wavview,viewers
|
2019-07-08 02:00:20 +00:00
|
|
|
wolf3d,games
|
2007-08-06 13:42:52 +00:00
|
|
|
wormlet,games
|
|
|
|
xobox,games
|
2014-10-14 01:00:47 +00:00
|
|
|
xworld,games
|
2007-08-06 13:42:52 +00:00
|
|
|
zxbox,viewers
|