Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 2018-09-15 | 1 | -1/+1 |
| | |||||
* | hid: Implement ReloadInputDevices | fearlessTobi | 2018-09-09 | 1 | -4/+4 |
| | |||||
* | kernel: Eliminate kernel global state | Lioncash | 2018-08-29 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | | | | | | | As means to pave the way for getting rid of global state within core, This eliminates kernel global state by removing all globals. Instead this introduces a KernelCore class which acts as a kernel instance. This instance lives in the System class, which keeps its lifetime contained to the lifetime of the System class. This also forces the kernel types to actually interact with the main kernel instance itself instead of having transient kernel state placed all over several translation units, keeping everything together. It also has a nice consequence of making dependencies much more explicit. This also makes our initialization a tad bit more correct. Previously we were creating a kernel process before the actual kernel was initialized, which doesn't really make much sense. The KernelCore class itself follows the PImpl idiom, which allows keeping all the implementation details sealed away from everything else, which forces the use of the exposed API and allows us to avoid any unnecessary inclusions within the main kernel header. | ||||
* | hid: Move core include to cpp file | Lioncash | 2018-08-24 | 1 | -0/+1 |
| | | | | | 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. | ||||
* | hid: disable clang-format around tables | Lioncash | 2018-08-12 | 1 | -4/+5 |
| | | | | Prevents clang-format from butchering them. | ||||
* | hid: Stub DisconnectNpad() | Lioncash | 2018-08-12 | 1 | -1/+7 |
| | | | | This is required by ARMS. | ||||
* | hid: fix IsSixAxisSensorAtRest() response | mailwl | 2018-08-08 | 1 | -1/+1 |
| | |||||
* | services/hid: Add ActivateNpadWithRevision() to the hid function info array | Lioncash | 2018-08-07 | 1 | -0/+1 |
| | | | | Updated based off the information on Switch Brew. | ||||
* | Add some HID commands (#843) | Hexagon12 | 2018-07-30 | 1 | -2/+16 |
| | | | | | | * Added some HID commands * Addressed comments | ||||
* | service/hid: Add the hidbus, hid:dbg, hid:sys, and hid:tmp services | Lioncash | 2018-07-26 | 1 | -0/+220 |
| | |||||
* | service/hid: Add the xcd:sys service | Lioncash | 2018-07-26 | 1 | -0/+2 |
| | |||||
* | service/hid: Add irs services | Lioncash | 2018-07-26 | 1 | -0/+3 |
| | |||||
* | core_timing: Split off utility functions into core_timing_util | MerryMage | 2018-07-24 | 1 | -0/+1 |
| | |||||
* | hid: Use a ranged-for loops in UpdatePadCallback | Lioncash | 2018-07-19 | 1 | -7/+3 |
| | | | | | Modernizes the loops themselves while also getting rid of a signed/unsigned comparison in a loop condition. | ||||
* | Fill in more fields in TouchScreenEntryTouch | Zach Hilman | 2018-07-18 | 1 | -4/+9 |
| | |||||
* | Single touch support | Zach Hilman | 2018-07-18 | 1 | -4/+19 |
| | |||||
* | HID: Update controllers less often | James Rowe | 2018-07-15 | 1 | -3/+3 |
| | |||||
* | hid: Fix timestamps and controller type. | bunnei | 2018-07-11 | 1 | -7/+5 |
| | | | | - This fixes user input in SMO. | ||||
* | Rename logging macro back to LOG_* | James Rowe | 2018-07-03 | 1 | -25/+25 |
| | |||||
* | Narrow down filter of layout configs | Zach Hilman | 2018-06-14 | 1 | -9/+5 |
| | |||||
* | Move loop condition to free function | Zach Hilman | 2018-06-13 | 1 | -4/+9 |
| | |||||
* | Avoid initializing single-joycon layouts with handheld controller | Zach Hilman | 2018-06-13 | 1 | -1/+4 |
| | |||||
* | hid: Update all layouts and only show handheld as connected, fixes libnx input for P1_AUTO | shinyquagsire23 | 2018-06-12 | 1 | -1/+2 |
| | |||||
* | add IPC CommandType & Some HID FunctionInfo (#487) | greggameplayer | 2018-05-30 | 1 | -0/+30 |
| | | | | | | | | | | * add some CommandType * add some hid FunctionInfo * add some other HID FunctionInfo * delete non useful comments | ||||
* | hid: Tweaks, Analog Sticks (#435) | Max Thomas | 2018-05-07 | 1 | -56/+134 |
| | | | | | | | | | | | | | | * hid: Update mouse/keyboard state * hid: Working analog sticks * hid: Nits * hid: Nits * hid: Update mystery sections * hid: Tweaks | ||||
* | core_timing: Namespace all functions and constants in core_timing's header | Lioncash | 2018-04-30 | 1 | -3/+3 |
| | | | | All of these variables and functions are related to timings and should be within the namespace. | ||||
* | hid: Move logging macros over to new fmt-compatible ones | Lioncash | 2018-04-24 | 1 | -25/+25 |
| | |||||
* | service: Use nested namespace specifiers where applicable | Lioncash | 2018-04-20 | 1 | -4/+2 |
| | | | | Tidies up namespace declarations | ||||
* | Stubbed out GetPlayerLedPattern | Hexagon12 | 2018-04-13 | 1 | -1/+7 |
| | |||||
* | Updated hid with more service names. | Hexagon12 | 2018-04-10 | 1 | -0/+50 |
| | |||||
* | Merge pull request #297 from bunnei/hid-touch-state | bunnei | 2018-04-02 | 1 | -5/+21 |
|\ | | | | | hid: Write empty touch screen state. | ||||
| * | hid: Write empty touch screen state. | bunnei | 2018-04-01 | 1 | -5/+21 |
| | | |||||
* | | hid: Stub out GetSupportedNpadStyleSet. | bunnei | 2018-03-31 | 1 | -0/+8 |
|/ | |||||
* | hid: Stub out SetNpadJoyAssignmentModeDual. | bunnei | 2018-03-25 | 1 | -1/+7 |
| | |||||
* | CoreTiming: Unschedule the pending events when an Interface is destroyed. | Subv | 2018-03-04 | 1 | -0/+4 |
| | |||||
* | Service/hid: stub some functions | mailwl | 2018-02-16 | 1 | -0/+43 |
| | |||||
* | hid: Stub GetVibrationDeviceInfo and SendVibrationValues. | bunnei | 2018-02-15 | 1 | -0/+15 |
| | |||||
* | Service: stub some functions in am, audio, time, vi services | mailwl | 2018-02-07 | 1 | -0/+22 |
| | |||||
* | Service/hid: stub SetNpadHandheldActivationMode | mailwl | 2018-02-06 | 1 | -0/+7 |
| | |||||
* | hid: Stub ActivateTouchScreen and SetNpadJoyHoldType. | bunnei | 2018-02-06 | 1 | -2/+14 |
| | |||||
* | hid: Stub out several functions. | bunnei | 2018-02-05 | 1 | -1/+39 |
| | |||||
* | hid: Implement CreateActiveVibrationDeviceList. | bunnei | 2018-02-04 | 1 | -0/+25 |
| | |||||
* | logger: Use Service_HID category where applicable. | bunnei | 2018-02-04 | 1 | -2/+2 |
| | |||||
* | hle: Rename RequestBuilder to ResponseBuilder. | bunnei | 2018-01-25 | 1 | -2/+2 |
| | |||||
* | service: Fix all incorrect IPC response headers. | bunnei | 2018-01-25 | 1 | -11/+2 |
| | |||||
* | Services: Added a todo about returning interfaces as domain objects in lm, hid and time. | Subv | 2018-01-23 | 1 | -0/+3 |
| | |||||
* | HID: Don't create an unnecessary port in CreateAppletResource. | Subv | 2018-01-22 | 1 | -13/+13 |
| | |||||
* | Stub OpenAudioOut and fix a issue with HID IAppletResource being created more than once | gdkchan | 2018-01-22 | 1 | -1/+6 |
| | |||||
* | hid: Adjust timing based on actual hardware | shinyquagsire23 | 2018-01-17 | 1 | -3/+3 |
| | |||||
* | hid: clang-format | shinyquagsire23 | 2018-01-17 | 1 | -3/+3 |
| | |||||
* | hid: Adjust for style guide | shinyquagsire23 | 2018-01-17 | 1 | -13/+13 |
| | |||||
* | hid: Write to all layouts, implement circular buffers, set up controller metadata. | shinyquagsire23 | 2018-01-16 | 1 | -38/+65 |
| | |||||
* | hid: Bare-minimum sharedmem input | shinyquagsire23 | 2018-01-15 | 1 | -0/+86 |
| | |||||
* | hid: Remove unused registered_loggers. | bunnei | 2018-01-15 | 1 | -3/+0 |
| | |||||
* | hid: Implement IAppletResource::GetSharedMemoryHandle. | bunnei | 2018-01-15 | 1 | -3/+61 |
| | |||||
* | Remove lots more 3DS-specific code. | bunnei | 2017-10-13 | 1 | -422/+3 |
| | |||||
* | Fixed type conversion ambiguity | Huw Pascoe | 2017-09-30 | 1 | -1/+1 |
| | |||||
* | HID: use TouchDevice for touch pad | wwylele | 2017-08-24 | 1 | -4/+8 |
| | |||||
* | HID: fix a comment and a warning | wwylele | 2017-08-20 | 1 | -2/+2 |
| | |||||
* | HID: use MotionDevice for Accelerometer and Gyroscope | wwylele | 2017-08-11 | 1 | -5/+27 |
| | |||||
* | ResultVal: Remove MoveFrom() | Yuri Kunde Schlesner | 2017-06-19 | 1 | -6/+6 |
| | | | | | Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue. | ||||
* | Service: Remove unnecessary includes from service.h | Yuri Kunde Schlesner | 2017-06-06 | 1 | -0/+2 |
| | | | | | This has a huge fallout in terms of needing to fix other files because all service implementations included that file. | ||||
* | ir: implement new 3ds HID via ir:rst | wwylele | 2017-05-04 | 1 | -8/+11 |
| | |||||
* | HID: use AnalogDevice | wwylele | 2017-03-01 | 1 | -2/+9 |
| | |||||
* | HID: use ButtonDevice | wwylele | 2017-03-01 | 1 | -1/+44 |
| | |||||
* | HID: move enable_accelerometer/gyroscope_count initialization into Init() (#2574) | Weiyi Wang | 2017-02-17 | 1 | -2/+5 |
| | | | Fixes #2556 | ||||
* | HID: reset acceleroeter and gyroscope index in Init | wwylele | 2017-01-20 | 1 | -0/+2 |
| | |||||
* | CoreTiming: use named constant for ARM11 clock rate | wwylele | 2017-01-16 | 1 | -3/+3 |
| | |||||
* | HID: manages updating itself using correct ticks | wwylele | 2017-01-16 | 1 | -55/+93 |
| | |||||
* | core: Move emu_window and key_map into core | MerryMage | 2016-12-23 | 1 | -1/+1 |
| | | | | * Removes circular dependences (common should not depend on core) | ||||
* | hid: Get rid of a double -> float truncation warning | Lioncash | 2016-12-15 | 1 | -1/+2 |
| | | | | float literals need to have the 'f' prefix. | ||||
* | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | 2016-09-21 | 1 | -1/+1 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 1 | -8/+4 |
| | | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | ||||
* | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 2016-09-19 | 1 | -5/+4 |
| | |||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -22/+25 |
| | |||||
* | hid: add missing header | wwylele | 2016-06-11 | 1 | -0/+2 |
| | |||||
* | fixup! fixup! Refactor input system | wwylele | 2016-05-15 | 1 | -1/+1 |
| | |||||
* | Refactor input subsystem | wwylele | 2016-05-15 | 1 | -32/+36 |
| | |||||
* | Kernel/SharedMemory: Properly implemented shared memory support. | Subv | 2016-05-13 | 1 | -2/+3 |
| | | | | | | | Applications can request the kernel to allocate a piece of the linear heap for them when creating a shared memory object. Shared memory areas are now properly mapped into the target processes when calling svcMapMemoryBlock. Removed the APT Shared Font hack as it is no longer needed. | ||||
* | use reference instead of pointer | wwylele | 2016-03-26 | 1 | -9/+9 |
| | |||||
* | implement GyroscopeCalibrateParam | wwylele | 2016-03-25 | 1 | -8/+7 |
| | |||||
* | implement accel and gyro backend | wwylele | 2016-03-22 | 1 | -3/+90 |
| | |||||
* | hid: fix pad update | wwylele | 2016-03-13 | 1 | -1/+1 |
| | |||||
* | svc: Make ResetType an enum class | Lioncash | 2016-03-12 | 1 | -5/+5 |
| | |||||
* | BitField: Make trivially copyable and remove assignment operator | MerryMage | 2016-02-12 | 1 | -1/+1 |
| | |||||
* | services: Get rid of unnecessary includes | Lioncash | 2016-02-02 | 1 | -1/+0 |
| | |||||
* | general: Silence some warnings when using clang | Lioncash | 2015-09-16 | 1 | -2/+2 |
| | |||||
* | Move input values into an array | James Rowe | 2015-07-28 | 1 | -0/+10 |
| | |||||
* | CitraQt: Cleanup includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -0/+1 |
| | |||||
* | Remove every trailing whitespace from the project (but externals). | Emmanuel Gil Peyrot | 2015-05-29 | 1 | -1/+1 |
| | |||||
* | hid: Get rid of undefined behavior | Lioncash | 2015-05-27 | 1 | -2/+2 |
| | | | | Modifying a variable twice across a sequence point. | ||||
* | HID: Stub DisableAccelerometer and DisableGyroscopeLow | purpasmart96 | 2015-05-23 | 1 | -0/+20 |
| | |||||
* | Kernel: Capture SharedMemory attributes at creation, not when mapping | Yuri Kunde Schlesner | 2015-05-11 | 1 | -2/+4 |
| | |||||
* | Common: Remove common.h | Yuri Kunde Schlesner | 2015-05-07 | 1 | -0/+2 |
| | |||||
* | Services: Initialize all state variables at bootup. | bunnei | 2015-05-02 | 1 | -8/+14 |
| | |||||
* | Services: Stubs and minor changes | purpasmart96 | 2015-04-03 | 1 | -3/+3 |
| | |||||
* | Merge pull request #655 from purpasmart96/hid_fixes | bunnei | 2015-03-17 | 1 | -0/+32 |
|\ | | | | | HID: Proper Signal Interrupts for EnableAccelerometer & EnableGyroscopeLow along with a stub for GetSoundVolume | ||||
| * | HID: Proper Signal Interrupts for EnableAccelerometer & EnableGyroscopeLow along | purpasmart96 | 2015-03-17 | 1 | -0/+32 |
| | | | | | | | | with a stub for GetSoundVolume | ||||
* | | arm_interface: Get rid of GetTicks. | Lioncash | 2015-03-16 | 1 | -3/+3 |
|/ | | | | Removes a TODO. | ||||
* | HID: Removed unnecessary global variables. | bunnei | 2015-03-11 | 1 | -48/+42 |
| | |||||
* | HID: Added additional variable comments and some code cleanups. | bunnei | 2015-03-11 | 1 | -2/+6 |
| | |||||
* | HID: Complete refactor of pad/touch input to fix threading issues. | bunnei | 2015-03-11 | 1 | -81/+23 |
| | |||||
* | HID: Cleanup how `next_touch_index` is calculated for Pad and touch. | bunnei | 2015-03-10 | 1 | -2/+2 |
| | |||||
* | HID: Changed TouchDataEntry `valid` to a BitField and added some doc strings. | bunnei | 2015-03-10 | 1 | -1/+1 |
| | |||||
* | HID: Added functions to emulate the touchpad. | bunnei | 2015-03-10 | 1 | -0/+48 |
| | |||||
* | HID: Moved some docstrings to the header. | bunnei | 2015-03-10 | 1 | -23/+2 |
| | |||||
* | HID: Refactored shared memory decoding for touchpad support. | bunnei | 2015-03-10 | 1 | -21/+30 |
| | |||||
* | Services: Moved the PTM and APT services to their own folder | Subv | 2015-03-04 | 1 | -0/+32 |
| | | | | | | 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. | ||||
* | Kernel: Stop creating useless Handles during object creation | Yuri Kunde Schlesner | 2015-02-02 | 1 | -6/+6 |
| | | | | | They're finally unnecessary, and will stop cluttering the application's handle table. | ||||
* | HID: Fix crash when pressing a key when the emulator is stopped | Yuri Kunde Schlesner | 2015-02-02 | 1 | -0/+2 |
| | |||||
* | Kernel: Convert Event to not use Handles | Yuri Kunde Schlesner | 2015-01-30 | 1 | -13/+15 |
| | |||||
* | Kernel: Convert SharedMemory to not use Handles | Yuri Kunde Schlesner | 2015-01-30 | 1 | -3/+3 |
| | |||||
* | Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxx | archshift | 2015-01-21 | 1 | -0/+138 |