|
Result | ringconCreate (RingCon *c, HidNpadIdType id) |
| Creates a RingCon object, and handles the various initialization for it. More...
|
|
void | ringconClose (RingCon *c) |
| Close a RingCon. More...
|
|
static u32 | ringconGetErrorFlags (RingCon *c) |
| Gets the error flags field. More...
|
|
static bool | ringconGetErrorFlag (RingCon *c, RingConErrorFlag flag) |
| Gets the value of an error flag, set by ringconSetErrorFlag. More...
|
|
static RingConFwVersion | ringconGetFwVersion (RingCon *c) |
| Gets the RingConFwVersion previously loaded by ringconCreate. More...
|
|
static void | ringconGetId (RingCon *c, u64 *id_l, u64 *id_h) |
| Gets the Id previously loaded by ringconCreate. More...
|
|
static s16 | ringconGetUnkCal (RingCon *c) |
| Gets the unk_cal previously loaded by ringconCreate with ringconReadUnkCal. More...
|
|
static s32 | ringconGetTotalPushCount (RingCon *c) |
| Gets the total-push-count previously loaded by ringconCreate. More...
|
|
static void | ringconGetManuCal (RingCon *c, RingConManuCal *out) |
| Gets the RingConManuCal previously loaded by ringconCreate. More...
|
|
static void | ringconGetUserCal (RingCon *c, RingConUserCal *out) |
| Gets the RingConUserCal previously loaded by ringconCreate. More...
|
|
Result | ringconUpdateUserCal (RingCon *c, RingConUserCal cal) |
| Updates the RingConUserCal. More...
|
|
Result | ringconReadFwVersion (RingCon *c, RingConFwVersion *out) |
| Reads the RingConFwVersion. More...
|
|
Result | ringconReadId (RingCon *c, u64 *id_l, u64 *id_h) |
| Reads the Id. More...
|
|
Result | ringconGetPollingData (RingCon *c, RingConPollingData *out, s32 count, s32 *total_out) |
| Gets the RingConPollingData. More...
|
|
Result | ringconCmdx00020105 (RingCon *c, u32 *out) |
| Uses cmd 0x00020105. More...
|
|
Result | ringconReadManuCal (RingCon *c, RingConManuCal *out) |
| Reads the RingConManuCal. More...
|
|
Result | ringconReadUnkCal (RingCon *c, s16 *out) |
| Gets the unknown value derived from the output of cmd 0x00020504 and ringconReadManuCal. More...
|
|
Result | ringconReadUserCal (RingCon *c, RingConUserCal *out) |
| Reads the RingConUserCal. More...
|
|
Result | ringconReadRepCount (RingCon *c, s32 *out, RingConDataValid *data_valid) |
| Reads the rep-count for Multitask Mode. More...
|
|
Result | ringconReadTotalPushCount (RingCon *c, s32 *out, RingConDataValid *data_valid) |
| Reads the total-push-count, for Multitask Mode. More...
|
|
Result | ringconResetRepCount (RingCon *c) |
| This resets the value returned by ringconReadRepCount to 0. More...
|
|
Result | ringconWriteUserCal (RingCon *c, RingConUserCal cal) |
| Writes the RingConUserCal. More...
|
|
Wrapper for using the Ring-Con attached to a Joy-Con, with hidbus.
See also: https://switchbrew.org/wiki/Ring-Con
- Author
- yellows8
- Copyright
- libnx Authors