56f35ab262
"Better Hid" rework part 1
2018-10-10 13:15:35 +11:00
ec59e4a6c5
hid: Move core include to cpp file
...
This isn't required to be in the header. Instead, directly include what
this header needs and move it to the cpp file where it belongs.
2018-08-23 23:20:35 -04:00
95103a1b7b
hid: Use HID_NUM_LAYOUTS constant for indicating size of the layouts array
...
Gets rid of the use of a magic constant
2018-07-19 15:07:36 -04:00
2f9c0e7c7e
hid: Update all layouts and only show handheld as connected, fixes libnx input for P1_AUTO
2018-06-11 19:41:29 -06:00
c74d24f841
Fix deadlocks caused from HID having too many layouts
...
Games such as SMO deadlock if we have more than 2 layouts
2018-05-23 16:00:25 -07:00
266703b50e
hid: Tweaks, Analog Sticks ( #435 )
...
* hid: Update mouse/keyboard state
* hid: Working analog sticks
* hid: Nits
* hid: Nits
* hid: Update mystery sections
* hid: Tweaks
2018-05-07 11:06:02 -04:00
ccca5e7c28
service: Use nested namespace specifiers where applicable
...
Tidies up namespace declarations
2018-04-19 22:20:28 -04:00
36b89787ce
hid: Adjust for style guide
2018-01-16 19:22:12 -07:00
d20a883194
hid: Write to all layouts, implement circular buffers, set up controller metadata.
2018-01-16 03:14:27 -07:00
1ea49442f9
hid: Bare-minimum sharedmem input
2018-01-15 02:30:58 -07:00
bb1fcfac33
hid: Remove redundant HID prefix on structs/enums
2018-01-15 02:30:58 -07:00
e08c132175
hid: Add sharedmem structs
2018-01-15 02:30:53 -07:00
f4a3d28224
hid: Implement IAppletResource::GetSharedMemoryHandle.
2018-01-14 21:45:06 -05:00
72b03025ac
Remove lots more 3DS-specific code.
2017-10-12 21:21:49 -04:00
599de29ea3
HID: zero unused PadState bits
2017-08-10 17:01:03 +03:00
85116643b2
ir: implement new 3ds HID via ir:rst
2017-05-04 12:59:28 +03:00
e02c4b7195
Input: remove unused stuff & clean up
...
1. removed zl, zr and c-stick from HID::PadState. They are handled by IR, not HID
2. removed button handling in EmuWindow
3. removed key_map
4. cleanup #include
2017-03-01 23:30:57 +02:00
1d1329af23
HID: use ButtonDevice
2017-03-01 23:30:57 +02:00
0dd007e9ba
hid: remove the touch field from PadState ( #2557 )
2017-02-11 01:11:42 -08:00
3c333c53f1
HID: manages updating itself using correct ticks
2017-01-16 09:51:44 +02:00
ebdae19fd2
Remove empty newlines in #include blocks.
...
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
2016-09-21 11:15:47 +09:00
dc8479928c
Sources: Run clang-format on everything.
2016-09-18 09:38:01 +09:00
03631f9b8f
Refactor input subsystem
2016-05-15 13:24:22 +03:00
1d2070d0d3
implement GyroscopeCalibrateParam
2016-03-25 12:22:02 +03:00
db151efd0a
implement accel and gyro backend
2016-03-22 18:35:03 +02:00
1bc7829ee9
Move input values into an array
2015-07-27 21:41:21 -06:00
596b7c4f63
Common: Cleanup key_map includes.
2015-06-28 00:36:54 +01:00
0c62b7b106
HID: Stub DisableAccelerometer and DisableGyroscopeLow
2015-05-22 15:55:27 -07:00
198c0ddc72
Services: Stubs and minor changes
2015-04-02 20:05:11 -07:00
5b1757d6a5
HID: Proper Signal Interrupts for EnableAccelerometer & EnableGyroscopeLow along
...
with a stub for GetSoundVolume
2015-03-16 18:55:58 -07:00
e79c27f1e0
HID: Removed unnecessary global variables.
2015-03-11 00:00:39 -04:00
85cbccb1d3
HID: Added additional variable comments and some code cleanups.
2015-03-10 23:58:13 -04:00
d61b26b79f
HID: Complete refactor of pad/touch input to fix threading issues.
2015-03-10 23:58:07 -04:00
432aa1044c
HID: Changed TouchDataEntry valid
to a BitField and added some doc strings.
2015-03-10 18:05:19 -04:00
e9b9f1842b
HID: Added static asserts to check register position in shared memory.
2015-03-10 18:05:19 -04:00
1a904ded40
HID: Added functions to emulate the touchpad.
2015-03-10 18:05:17 -04:00
3229b048d9
HID: Moved some docstrings to the header.
2015-03-10 18:05:17 -04:00
83a66dd701
HID: Refactored shared memory decoding for touchpad support.
2015-03-10 18:05:16 -04:00
83a8975cb8
Services: Moved the PTM and APT services to their own folder
...
This coincidentally fixes an issue about the PTM service failing to create its SharedExtSaveData archive due to the FS service not being initialized by the time the creating code runs.
Ideally I'd like to move each process to its own folder, and have a single file per process that registers the service classes, which would be in their own files inside that folder. Then each service class would just call functions from the process to complete the commands.
2015-03-03 21:48:08 -05:00
aa64f69af0
Frontends, HID: Add New 3DS specific pad buttons, and stub the touch one.
2015-02-22 21:09:08 +01:00
d52d859936
Kernel: Convert Event to not use Handles
2015-01-30 11:49:43 -02:00
4bb33dfc30
Kernel: Convert SharedMemory to not use Handles
2015-01-30 11:47:04 -02:00
1f109c6b49
Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxx
2015-01-21 13:31:10 -08:00