Paul Cercueil
c19e28f626
Let the platform code deliver the key mappings
2013-10-07 19:34:04 +02:00
Paul Cercueil
c52e6628cd
Introduce plat_get_skin_dir and update plat_get_root_dir functions
...
On GP2X and Pandora, plat_get_root_dir points to the directory
in which the PicoDrive executable is found. On regular Linux,
it now points to the '.picodrive' directory inside the user's home
folder.
plat_get_skin_dir now points to the 'skin' directory inside the
data directory.
The data directory can be set with PICO_DATA_DIR at compile time.
If that variable is not set, the data directory is set to the
directory of the PicoDrive executable.
2013-10-07 17:09:09 +02:00
notaz
39014486f9
gp2x: pollux: various fixes
2013-10-04 03:21:40 +03:00
notaz
d1f5849cf4
don't use a and s for menu functions
...
leave them for rom seeking
2013-09-08 21:25:29 +03:00
notaz
9028744c19
alsa: some stop handling
2013-09-01 18:37:30 +03:00
notaz
7ceadd9993
GP2X updates
...
video stuff moved out as it's project specific..
2013-08-28 01:05:29 +03:00
notaz
c54d04fd84
add disassembler reg-names-std option
2013-08-10 19:44:14 +03:00
Grazvydas Ignotas
cab9194354
fix clang warnings
...
so that they don't annoy me
2013-07-29 01:54:51 +03:00
Grazvydas Ignotas
6282e17ef5
add plat_mem_set_exec()
2013-06-28 03:17:32 +03:00
Grazvydas Ignotas
32d23d03ac
add preliminary alsa driver too
2013-06-25 01:32:48 +03:00
Grazvydas Ignotas
26d3ca0d29
support multiple sound drivers, add sdl
2013-06-23 22:23:57 +03:00
Grazvydas Ignotas
7bf7acb6d6
allow multi-include on some headers
2013-06-16 02:57:00 +03:00
notaz
f4750ef3f5
plat: don't give up on hugetlb fail
...
some free memory might appear over time
2013-03-14 00:19:42 +02:00
notaz
f89d84717a
update license in source code itself
2012-09-13 01:41:57 +03:00
notaz
a86e9a3e58
move common files to root
2012-09-13 01:41:53 +03:00
notaz
f506842df2
remove PicoDrive-specific stuff, add readme
2012-09-13 01:41:07 +03:00
notaz
ca69c3e5a0
extend mmap wrapper functionality
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@960 be3aeb3a-fb24-0410-a615-afba39da0efa
2012-08-28 22:56:20 +00:00
notaz
dd1e717286
menu: support seeking the filelist with letter keys
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@956 be3aeb3a-fb24-0410-a615-afba39da0efa
2012-07-22 16:56:34 +00:00
notaz
705bdf6366
input: move default bind handling to input core
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@953 be3aeb3a-fb24-0410-a615-afba39da0efa
2012-07-22 14:37:07 +00:00
notaz
323db72934
fbdev: save and restore support
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@950 be3aeb3a-fb24-0410-a615-afba39da0efa
2012-04-10 00:04:15 +00:00
notaz
f620fa7ade
xenv: allow to specify event filter
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@949 be3aeb3a-fb24-0410-a615-afba39da0efa
2012-04-09 21:31:45 +00:00
notaz
477ba3f2ec
xenv: add minimize functionality
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@948 be3aeb3a-fb24-0410-a615-afba39da0efa
2012-04-09 21:05:48 +00:00
notaz
c7b78b94e9
xenv: allow reading mouse through callbacks, for SDL project
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@947 be3aeb3a-fb24-0410-a615-afba39da0efa
2012-03-12 22:50:05 +00:00
notaz
f168d03179
fbdev: crash on single buffering
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@942 be3aeb3a-fb24-0410-a615-afba39da0efa
2012-01-07 21:03:43 +00:00
notaz
3797b7de42
xenv: init g_kbdfd, as 0 is stdin
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@941 be3aeb3a-fb24-0410-a615-afba39da0efa
2012-01-07 21:02:42 +00:00
notaz
2f54e52c1e
input: evdev: do centering adjustment
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@940 be3aeb3a-fb24-0410-a615-afba39da0efa
2011-12-10 23:35:16 +00:00
notaz
f342bededb
input: support analog read
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@937 be3aeb3a-fb24-0410-a615-afba39da0efa
2011-12-09 23:58:48 +00:00
notaz
9056e81f4a
input: make it more modular
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@935 be3aeb3a-fb24-0410-a615-afba39da0efa
2011-10-27 23:23:08 +00:00
notaz
838a76d4f9
linux: oshide becomes xenv for broader use
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@932 be3aeb3a-fb24-0410-a615-afba39da0efa
2011-09-03 15:33:25 +00:00
notaz
c64c8d0ec9
update platform code to suit recent PCSX related changes
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@930 be3aeb3a-fb24-0410-a615-afba39da0efa
2011-05-22 13:45:53 +00:00
notaz
f35e50efad
a bugfix and cleanup in common code
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@929 be3aeb3a-fb24-0410-a615-afba39da0efa
2011-05-22 13:37:20 +00:00
notaz
0c9246818b
input: add hack to allow abs-only devices
...
this is mainly for pandora nubs.
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@926 be3aeb3a-fb24-0410-a615-afba39da0efa
2011-03-21 00:53:04 +00:00
notaz
090c1b1a30
input: detect dead devices, always set keynames
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@925 be3aeb3a-fb24-0410-a615-afba39da0efa
2011-03-21 00:46:31 +00:00
notaz
bde5dcbb2c
input: don't use unintialized memory
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@922 be3aeb3a-fb24-0410-a615-afba39da0efa
2011-03-19 22:34:27 +00:00
notaz
f0c1692d55
fbdev: make sure color format is set
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@918 be3aeb3a-fb24-0410-a615-afba39da0efa
2011-02-22 12:27:43 +00:00
notaz
9c2179d356
fbdev: resize: do single ioctl in nonerror path
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@913 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-12-30 23:24:56 +00:00
notaz
87a68cdbac
fbdev: change API to make easier to avoid glitches
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@912 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-12-11 17:46:39 +00:00
notaz
39771a7c54
in_evdev: don't stop on bit0
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@911 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-12-09 23:06:19 +00:00
notaz
e30684582a
in_evdev: revert multi event handling from r901 to avoid unwanted blocking
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@910 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-12-09 22:21:07 +00:00
notaz
957a9eac90
license some code GPL compatible to use in PCSX
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@908 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-12-09 16:44:25 +00:00
notaz
9a58d7d618
in_evdev: remove defbinds (should go to plat code)
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@907 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-12-09 15:57:23 +00:00
notaz
4332e4bc83
fbdev: expand to allow more bpps
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@904 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-12-08 00:07:15 +00:00
notaz
392b07b2bc
copyright for SDL reuse (will be dual licensed for PD)
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@903 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-11-13 18:27:06 +00:00
notaz
74065be8cd
in_evdev: do all events in update_keycode
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@901 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-11-07 21:55:57 +00:00
notaz
2b9f9c51e6
minor refactoring (lprintf)
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@900 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-11-07 21:27:46 +00:00
notaz
a33164fffe
make OSS detect blocking, adjust audio API
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@898 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-09-18 16:40:13 +00:00
notaz
b6eccda317
pandora: handle custom size fb for menu layer
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@897 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-09-17 23:02:04 +00:00
notaz
f679add71b
redo OSS frag setup. Compute real pollux rate
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@896 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-09-17 22:57:14 +00:00
notaz
902972d1c7
tweak and refactor frontends, menu and config
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@895 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-09-17 09:49:16 +00:00
notaz
e9b2926437
input: rework abs handling, change API, allow custom key names
...
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@894 be3aeb3a-fb24-0410-a615-afba39da0efa
2010-09-17 09:36:48 +00:00