wut  v1.7.0
Wii U Toolchain
Data Structures | Typedefs | Enumerations | Functions
im.h File Reference
#include <wut.h>
#include <coreinit/ios.h>
Include dependency graph for im.h:

Go to the source code of this file.

Data Structures

struct  IMRequest
 
struct  IMHomeButtonParams
 
struct  IMParameters
 
struct  IMDeviceStateEx
 

Typedefs

typedef struct IMRequest IMRequest
 
typedef struct IMHomeButtonParams IMHomeButtonParams
 
typedef struct IMParameters IMParameters
 
typedef struct IMDeviceStateEx IMDeviceStateEx
 
typedef uint32_t IMEventMask
 
typedef enum IMPadType IMPadType
 
typedef enum IMDeviceState IMDeviceState
 
typedef enum IMParameter IMParameter
 
typedef enum IMTimer IMTimer
 
typedef enum IMEvent IMEvent
 

Enumerations

enum  IMPadType {
  IM_PAD_TYPE_NONE = 0 ,
  IM_PAD_TYPE_WII_REMOTE = 1 ,
  IM_PAD_TYPE_WIIU_PRO_CONTROLLER = 2 ,
  IM_PAD_TYPE_WII_REMOTE_EXTENSION = 3 ,
  IM_PAD_TYPE_WIIU_GAMEPAD = 4
}
 
enum  IMDeviceState {
  IM_DEVICE_STATE_CLEAR = 0 ,
  IM_DEVICE_STATE_INACTIVE = 1 ,
  IM_DEVICE_STATE_ACTIVE = 2 ,
  IM_DEVICE_STATE_HOME = 3 ,
  IM_DEVICE_STATE_POWER = 4 ,
  IM_DEVICE_STATE_SYNC = 5
}
 
enum  IMParameter {
  IM_PARAMETER_INACTIVE_SECONDS = 0 ,
  IM_PARAMETER_DIM_ENABLED = 1 ,
  IM_PARAMETER_DIM_PERIOD = 2 ,
  IM_PARAMETER_APD_ENABLED = 3 ,
  IM_PARAMETER_APD_PERIOD = 4 ,
  IM_PARAMETER_RESET_ENABLE = 5 ,
  IM_PARAMETER_RESET_SECONDS = 6 ,
  IM_PARAMETER_POWER_OFF_ENABLE = 7 ,
  IM_PARAMETER_APD_OCCURED = 8 ,
  IM_PARAMETER_DIM_ENABLE_TV = 9 ,
  IM_PARAMETER_DIM_ENABLE_DRC = 10 ,
  IM_PARAMETER_MAX = 11
}
 
enum  IMTimer {
  IM_TIMER_DIM = 0 ,
  IM_TIMER_APD = 1
}
 
enum  IMEvent {
  IM_EVENT_ACTIVE = 1 << 0 ,
  IM_EVENT_INACTIVE = 1 << 1 ,
  IM_EVENT_DIM = 1 << 2 ,
  IM_EVENT_UNDIM = 1 << 3 ,
  IM_EVENT_APD = 1 << 4 ,
  IM_EVENT_POWER = 1 << 5 ,
  IM_EVENT_HOME = 1 << 6 ,
  IM_EVENT_SYNC = 1 << 7 ,
  IM_EVENT_RESET = 1 << 8 ,
  IM_EVENT_CANCELLED = 1 << 31
}
 

Functions

IOSHandle IM_Open (void)
 
IOSError IM_Close (IOSHandle handle)
 
IOSError IM_GetHomeButtonParams (IOSHandle handle, IMRequest *request, IMHomeButtonParams *output, IOSAsyncCallbackFn asyncCallback, void *asyncCallbackContext)
 
IOSError IM_GetParameter (IOSHandle handle, IMRequest *request, IMParameter parameter, uint32_t *output, IOSAsyncCallbackFn asyncCallback, void *asyncCallbackContext)
 
IOSError IM_GetParameters (IMParameters *parameters)
 
IOSError IM_GetNvParameter (IOSHandle handle, IMRequest *request, IMParameter parameter, uint32_t *output, IOSAsyncCallbackFn asyncCallback, void *asyncCallbackContext)
 
IOSError IM_GetNvParameterWithoutHandleAndItb (IMParameter parameter, uint32_t *outValue)
 
IOSError IM_GetRuntimeParameter (IMParameter parameter, uint32_t *outValue)
 
IOSError IM_GetTimerRemaining (IOSHandle handle, IMRequest *request, IMTimer timer, uint32_t *output, IOSAsyncCallbackFn asyncCallback, void *asyncCallbackContext)
 
IOSError IM_GetTimerRemainingSeconds (IMTimer timer, uint32_t *outSeconds)
 
IOSError IM_SetParameter (IOSHandle handle, IMRequest *request, IMParameter parameter, uint32_t value, IOSAsyncCallbackFn asyncCallback, void *asyncCallbackContext)
 
IOSError IM_SetRuntimeParameter (IMParameter parameter, uint32_t value)
 
IOSError IM_GetEventNotify (IOSHandle handle, IMRequest *request, IMEventMask *event, IOSAsyncCallbackFn asyncCallback, void *asyncCallbackContext)
 
IOSError IM_CancelGetEventNotify (IOSHandle handle, IMRequest *request, IOSAsyncCallbackFn asyncCallback, void *asyncCallbackContext)
 
IOSError IM_SetDeviceState (IOSHandle handle, IMRequest *request, IMDeviceState state, IOSAsyncCallbackFn asyncCallback, void *asyncCallbackContext)
 
IOSError IM_SetDeviceStateEx (IOSHandle handle, IMRequest *request, IMDeviceStateEx *state, IOSAsyncCallbackFn asyncCallback, void *asyncCallbackContext)