Changes

Jump to navigation Jump to search
53 bytes removed ,  01:56, 18 November 2019
no edit summary
Line 1: Line 1:  
HID shared memory is a 0x40000 byte read-only segment of memory shared between applications for input. The segment contains structures for most if not all input methods available to applications.
 
HID shared memory is a 0x40000 byte read-only segment of memory shared between applications for input. The segment contains structures for most if not all input methods available to applications.
 +
 +
In sdknso this is "nn::hid::detail::SharedMemoryFormat".
    
= Memory Map =
 
= Memory Map =
Line 25: Line 27:  
|-
 
|-
 
| 0x3C00
 
| 0x3C00
| 0x400
+
| 0x1000 (0x400 * 0x04)
 
| BasicXpad
 
| BasicXpad
|-
  −
| 0x4000
  −
| 0x400
  −
| Unknown, header and 17 entries
  −
|-
  −
| 0x4400
  −
| 0x400
  −
| Unknown, header and 17 entries
  −
|-
  −
| 0x4800
  −
| 0x400
  −
| Unknown, header and 17 entries
   
|-
 
|-
 
| 0x4C00
 
| 0x4C00
Line 53: Line 43:  
|-
 
|-
 
| 0x5200
 
| 0x5200
| 0x800
+
| 0x800 (0x80 * 0x10)
 
| InputDetector
 
| InputDetector
 
|-
 
|-
 
| 0x5A00
 
| 0x5A00
| 0x4000
+
| 0x4000 (0x400 * 0x10)
| Controller Serials?
+
| [[#UniquePad]]
 
|-
 
|-
 
| 0x9A00
 
| 0x9A00
| 0x32000
+
| 0x32000 (0x5000 * 0x0A)
 
| Npad
 
| Npad
 
|-
 
|-
 
| 0x3BA00
 
| 0x3BA00
| 0x4600
+
| 0x800
 
| Gesture
 
| Gesture
 
|-
 
|-
 
| 0x3C200
 
| 0x3C200
| ?
+
| 0x20
 
| [5.0.0+] ConsoleSixAxisSensor
 
| [5.0.0+] ConsoleSixAxisSensor
 
|}
 
|}
Line 341: Line 331:  
|}
 
|}
   −
== Controller Serials? ==
+
== UniquePad ==
 
This section contains a series of 16 structures 0x400 bytes large.
 
This section contains a series of 16 structures 0x400 bytes large.
   Line 350: Line 340:  
!  Description
 
!  Description
 
|-
 
|-
| 0x30
+
| 0x30
| 0xE
+
| 0xE
| Controller Serial
+
| Controller Serial
|-
  −
| 0x60
  −
| 0xE
  −
| Controller Serial
   
|-
 
|-
 +
| 0x60
 +
| 0xE
 +
| Controller Serial
 
|}
 
|}
   Line 539: Line 528:  
| 0x4268
 
| 0x4268
 
| 0x18 * 17
 
| 0x18 * 17
| NpadGcTriggerState
+
| Array of NpadGcTriggerState
 
|}
 
|}
  

Navigation menu