HID services: Difference between revisions

 
(3 intermediate revisions by the same user not shown)
Line 1,087: Line 1,087:
This is exclusive to S2.
This is exclusive to S2.


Takes a PID and an u64, no output.
Takes a PID and an [[AM_services|AppletResourceUserId]], no output.


== Cmd3132 ==
== Cmd3132 ==
Line 1,102: Line 1,102:
This is exclusive to S2.
This is exclusive to S2.


Takes a PID, a bool, an u64, no output.
Takes a PID, a bool, an [[AM_services|AppletResourceUserId]], no output.


== Cmd3136 ==
== Cmd3136 ==
Line 1,117: Line 1,117:
This is exclusive to S2.
This is exclusive to S2.


Takes a PID, an u32, an u64, no output.
Takes a PID, an u32, an [[AM_services|AppletResourceUserId]], no output.
 
Official sw masks the u32 with bitmask 0x6.


== Cmd3139 ==
== Cmd3139 ==
This is exclusive to S2.
This is exclusive to S2.


Takes a PID, a handle, an u8, 3 u32s, two u64s, no output.
Takes a PID, a TransferMemory handle, an u8, an u32 width, an u32 height, an u32, an [[AM_services|AppletResourceUserId]], an u64 tmem_size, no output.
 
The input TransferMemory is created with permissions = R--. The user-process later reads from the buffer used with this.
 
Official sw always (?) passes value 1 for the last u32.
 
This and the related nearby cmds are likely (?) for Joy-Con 2 Mouse Mode.


== Cmd3140 ==
== Cmd3140 ==
Line 1,132: Line 1,140:
This is exclusive to S2.
This is exclusive to S2.


Takes a PID, a bool, two u64s, no output.
Takes a PID, a bool, an [[AM_services|AppletResourceUserId]], an u64, no output.


== Cmd3142 ==
== Cmd3142 ==
This is exclusive to S2.
This is exclusive to S2.


Takes a PID, an u32, 3 floats, an u64, no output.
Takes a PID, 4 floats, an [[AM_services|AppletResourceUserId]], no output.


== Cmd3143 ==
== Cmd3143 ==
Line 10,653: Line 10,661:
* '''ExpectVersionInfo.csv'''
* '''ExpectVersionInfo.csv'''
** List in the format "[device],[type],[version]" where "device" can be "JoyLeft", "JoyRight", "FullKey", "Palma" or "Handheld", "type" can be "BT", "MCU", "USB" or "SioH" and "version" is the hexadecimal representation of the firmware file's version.
** List in the format "[device],[type],[version]" where "device" can be "JoyLeft", "JoyRight", "FullKey", "Palma" or "Handheld", "type" can be "BT", "MCU", "USB" or "SioH" and "version" is the hexadecimal representation of the firmware file's version.
* [S2] '''ExpectVersionInfo.json'''
* [S2] [20.1.1+] '''ExpectVersionInfo.json'''
* '''FirmwareInfo.csv'''
* '''FirmwareInfo.csv'''
** List in the format "[device],[type],[version],[file]" where "device", "type" and "version" should match the values from "ExpectVersionInfo" and "file" is the name of the firmware file.
** List in the format "[device],[type],[version],[file]" where "device", "type" and "version" should match the values from "ExpectVersionInfo" and "file" is the name of the firmware file.
Line 10,703: Line 10,711:
* [S1] [14.0.0+] '''FTS_50000002.ftb'''
* [S1] [14.0.0+] '''FTS_50000002.ftb'''
** Touch Screen controller firmware in FTB format for panel vendor "Nissha".
** Touch Screen controller firmware in FTB format for panel vendor "Nissha".
* [S2] '''JoyLeftImage1.json'''
* [S2] [20.1.1+] '''JoyLeftImage1.json'''
* [S2] '''JoyLeftImage2.json'''
* [S2] [20.1.1+] '''JoyLeftImage2.json'''
* [S2] '''JoyRightImage1.json'''
* [S2] [20.1.1+] '''JoyRightImage1.json'''
* [S2] '''JoyRightImage2.json'''
* [S2] [20.1.1+] '''JoyRightImage2.json'''
* [S2] '''NT36683_INX.bin'''
* [S2] '''NT36683_INX.bin'''
** Touch Screen controller firmware for panel vendor "Innolux".
** Touch Screen controller firmware for panel vendor "Innolux".
* [S2] '''NT36683_SHP.bin'''
* [S2] '''NT36683_SHP.bin'''
** Touch Screen controller firmware for panel vendor "Sharp".
** Touch Screen controller firmware for panel vendor "Sharp".
* [S2] '''OunceJoyLeft.bin'''
* [S2] [20.1.1+] '''OunceJoyLeft.bin'''
* [S2] '''OunceJoyLeftBtPatch.bin'''
* [S2] [20.1.1+] '''OunceJoyLeftBtPatch.bin'''
* [S2] '''OunceJoyRight.bin'''
* [S2] [20.1.1+] '''OunceJoyRight.bin'''
* [S2] '''OunceJoyRightBtPatch.bin'''
* [S2] [20.1.1+] '''OunceJoyRightBtPatch.bin'''
* [S2] '''OunceProCon.bin'''
* [S2] [20.1.1+] '''OunceProCon.bin'''
* [S2] '''OunceProConBtPatch.bin'''
* [S2] [20.1.1+] '''OunceProConBtPatch.bin'''
* [S2] '''OunceProConDspFirmware.img'''
* [S2] [20.1.1+] '''OunceProConDspFirmware.img'''
* [S2] '''ProConImage1.json'''
* [S2] [20.1.1+] '''ProConImage1.json'''
* [S2] '''ProConImage2.json'''
* [S2] [20.1.1+] '''ProConImage2.json'''
* [S2] '''ProConImage3.json'''
* [S2] [20.1.1+] '''ProConImage3.json'''


== Versions ==
== Versions ==