diff --git a/libctru/include/3ds/services/ptmu.h b/libctru/include/3ds/services/ptmu.h index a5822ce..82773ef 100644 --- a/libctru/include/3ds/services/ptmu.h +++ b/libctru/include/3ds/services/ptmu.h @@ -1,3 +1,4 @@ + /** * @file ptmu.h * @brief PTMU service. @@ -40,3 +41,8 @@ Result PTMU_GetPedometerState(u8 *out); */ Result PTMU_GetTotalStepCount(u32 *steps); +/** + * @brief Gets whether the adapter is plugged in or not + * @param out Pointer to write the adapter state to. (0 = not plugged in, 1 = plugged in) + */ +Result PTMU_GetAdapterState(u8 *out);