Ilari Liusvaara
b3417018d4
JSON-based controller descriptions
...
Also allows creating a new controller type (albeit with not optimal
performance) at runtime.
2013-10-20 21:18:27 +03:00
Ilari Liusvaara
8fe4f70d9a
Lots of dispatch refactoring
2013-07-07 13:54:56 +03:00
Ilari Liusvaara
fbf7c48b84
More code simplification using C++11 initializers.
2013-06-23 15:57:21 +03:00
Ilari Liusvaara
992096c8c5
Macro support
2013-06-23 15:57:20 +03:00
Ilari Liusvaara
7f823a21a3
Fix bug causing crash if triple has invalid button
2013-04-17 18:20:38 +03:00
Ilari Liusvaara
7d0acfbaec
Merge branch 'rr1-maint'
...
Conflicts:
src/core/mainloop.cpp
2013-04-05 20:09:31 +03:00
Ilari Liusvaara
bfaf627c66
Show effects of Lua in input display
2013-04-05 20:06:00 +03:00
Ilari Liusvaara
f38671a3e2
TAS input plugin
2013-03-15 18:48:39 +02:00
Ilari Liusvaara
67c78124d5
Support per-button autofire
2013-03-14 00:15:43 +02:00
Ilari Liusvaara
f9415b0154
Fix loading standard-mode movies
...
When not in extended mode, the checking for movie compatibility read past
the end of poll counter array, potentially leading to a hang.
2013-02-03 06:13:51 +02:00
Ilari Liusvaara
a6f4d2dae1
Support multiple cores at once
...
Yes, this can really be built to have both bsnes and gambatte cores at
once (even if the result can't be distributed).
2013-01-06 23:06:08 +02:00
Ilari Liusvaara
981df4010c
Settings-based controllers
2013-01-05 09:19:09 +02:00
Ilari Liusvaara
d0f01efee4
Data-driven controller buttons
2013-01-04 20:41:11 +02:00
Ilari Liusvaara
2cd9dd223b
Hack to allow using 16-button controllers
...
The savestates are not compatible with master.
2012-12-11 23:59:45 +02:00
Ilari Liusvaara
f0abb91b69
Fix analog controllers
2012-10-27 00:21:04 +03:00
Ilari Liusvaara
bccb745a93
Have core-specific code build the legacy PCID maps
2012-10-19 19:53:15 +03:00
Ilari Liusvaara
aac0cd9a2c
Move reset handling to cores
...
This removes special cases from movie code.
2012-10-17 14:35:36 +03:00
Ilari Liusvaara
bbba76105c
Have cores generate controller index maps
...
The cores have much better knowledge about how the index maps should
be constructed than the core code.
Also, this moves any backward compat hacks to cores that need those.
2012-10-17 09:32:51 +03:00
Ilari Liusvaara
bd6242cdce
Revert "Refactor porttype_info into library/ (as port_type)"
...
This reverts commit 5bae541b8b
.
This commit is just messed up (lacks a file), so revert it.
2012-10-17 00:14:00 +03:00
Ilari Liusvaara
4365cadbc3
Support systems with !=2 ports
...
This also changes the Gambatte core to have just 1 port.
2012-10-11 20:06:40 +03:00
Ilari Liusvaara
5bae541b8b
Refactor porttype_info into library/ (as port_type)
2012-10-11 11:32:44 +03:00
Ilari Liusvaara
81795bbaec
Change button_id to be a function pointer field, not a virtual method
2012-10-10 22:56:22 +03:00
Ilari Liusvaara
027689273d
Fix sorting of various comboboxes
2012-07-15 13:32:15 +03:00
Ilari Liusvaara
3460d8e7a2
Move controller types to bsnes core, get rid of *LOGICAL* constants
2012-07-08 15:25:22 +03:00
Ilari Liusvaara
e27d4374dc
Get rid of porttype_t and devicetype_t
2012-07-08 12:57:22 +03:00
Ilari Liusvaara
47e07140c5
Delete include/core/bsnes.hpp
...
This file is no longer supposed to be there
2012-07-07 22:55:09 +03:00
Ilari Liusvaara
d9bc16598c
Split all references to bsnes core to dedicated file
2012-06-30 12:42:29 +03:00
Ilari Liusvaara
d5187c8c85
Framehold: Add corresponding hotkeys and fix spurious autohold signal
2012-05-12 13:11:52 +03:00
Ilari Liusvaara
823cc94fb1
Add autohold for 1 frame (framehold) commands
2012-05-11 19:37:06 +03:00
Ilari Liusvaara
4cd48f8771
Fix reading analog values
2012-05-06 00:43:54 +03:00
Ilari Liusvaara
626ff5e200
Add patchseries for v087
...
Additionally, fix the mouse input craziness.
2012-03-07 17:12:42 +02:00
Ilari Liusvaara
9bb2b2de05
Fix movie corruption in certain cases
...
Movie code corrupted the movie if movie length was integral multiple
of frames per page. Fix this.
2012-03-04 22:57:45 +02:00
Ilari Liusvaara
e88023a17f
Code cleanup WIP
2012-02-23 16:48:56 +02:00
Ilari Liusvaara
99d5ad2215
Make mouse be ordinary keys instead of being special
2012-01-17 23:48:13 +02:00
Ilari Liusvaara
ebaaf010ce
Fix another order-of-global-ctor bug
2012-01-14 00:58:56 +02:00
Ilari Liusvaara
d903f6c83b
When showing input in readwrite mode, show last sent input
...
Most rerecording emulators work this way, not by showing input pressed
right now.
2012-01-13 06:51:47 +02:00
Ilari Liusvaara
a0680f8778
Refactor controller input code
...
This also fixes bugs in autoholding.
2012-01-11 23:07:31 +02:00
Ilari Liusvaara
1eea706956
Win32: Fix compile errors
2012-01-11 17:31:25 +02:00
Ilari Liusvaara
394fcbf9da
Fix framecount/length given when loading movies
2012-01-10 01:11:53 +02:00
Ilari Liusvaara
ec20694f7b
Pack movie data in memory
...
Instead of using full 2*100 bytes for each subframe of movie data, pack
it in controller-dependent way, reducing the memory usage to 7-20 bytes
per subframe (90-96% reduction).
2012-01-09 21:55:55 +02:00