{
  "header": "SDL_touch.h",
  "opaque_types": [],
  "typedefs": [
    {
      "name": "SDL_TouchID",
      "underlying_type": "Uint64"
    },
    {
      "name": "SDL_FingerID",
      "underlying_type": "Uint64"
    }
  ],
  "function_pointers": [],
  "c_type_aliases": [],
  "enums": [
    {
      "name": "SDL_TouchDeviceType",
      "values": [
        {
          "name": "SDL_TOUCH_DEVICE_DIRECT"
        },
        {
          "name": "SDL_TOUCH_DEVICE_INDIRECT_ABSOLUTE"
        },
        {
          "name": "SDL_TOUCH_DEVICE_INDIRECT_RELATIVE  /* trackpad with screen cursor-relative coordinates */"
        }
      ]
    }
  ],
  "structs": [
    {
      "name": "SDL_Finger",
      "fields": [
        {
          "name": "id",
          "type": "SDL_FingerID",
          "comment": "the finger ID"
        },
        {
          "name": "x",
          "type": "float",
          "comment": "the x-axis location of the touch event, normalized (0...1)"
        },
        {
          "name": "y",
          "type": "float",
          "comment": "the y-axis location of the touch event, normalized (0...1)"
        },
        {
          "name": "pressure",
          "type": "float",
          "comment": "the quantity of pressure applied, normalized (0...1)"
        }
      ]
    }
  ],
  "unions": [],
  "flags": [],
  "functions": [
    {
      "name": "SDL_GetTouchDevices",
      "return_type": "SDL_TouchID *",
      "parameters": [
        {
          "name": "count",
          "type": "int *"
        }
      ]
    },
    {
      "name": "SDL_GetTouchDeviceName",
      "return_type": "const char *",
      "parameters": [
        {
          "name": "touchID",
          "type": "SDL_TouchID"
        }
      ]
    },
    {
      "name": "SDL_GetTouchDeviceType",
      "return_type": "SDL_TouchDeviceType",
      "parameters": [
        {
          "name": "touchID",
          "type": "SDL_TouchID"
        }
      ]
    },
    {
      "name": "SDL_GetTouchFingers",
      "return_type": "SDL_Finger **",
      "parameters": [
        {
          "name": "touchID",
          "type": "SDL_TouchID"
        },
        {
          "name": "count",
          "type": "int *"
        }
      ]
    }
  ]
}