Backlog/lib/sdl3/parser/test_output/SDL_pen.json

63 lines
1.4 KiB
JSON

{
"header": "SDL_pen.h",
"opaque_types": [],
"typedefs": [
{
"name": "SDL_PenID",
"underlying_type": "Uint32"
}
],
"function_pointers": [],
"enums": [
{
"name": "SDL_PenAxis",
"values": []
}
],
"structs": [],
"unions": [],
"flags": [
{
"name": "SDL_PenInputFlags",
"underlying_type": "Uint32",
"values": [
{
"name": "SDL_PEN_INPUT_DOWN",
"value": "(1u << 0)",
"comment": "pen is pressed down"
},
{
"name": "SDL_PEN_INPUT_BUTTON_1",
"value": "(1u << 1)",
"comment": "button 1 is pressed"
},
{
"name": "SDL_PEN_INPUT_BUTTON_2",
"value": "(1u << 2)",
"comment": "button 2 is pressed"
},
{
"name": "SDL_PEN_INPUT_BUTTON_3",
"value": "(1u << 3)",
"comment": "button 3 is pressed"
},
{
"name": "SDL_PEN_INPUT_BUTTON_4",
"value": "(1u << 4)",
"comment": "button 4 is pressed"
},
{
"name": "SDL_PEN_INPUT_BUTTON_5",
"value": "(1u << 5)",
"comment": "button 5 is pressed"
},
{
"name": "SDL_PEN_INPUT_ERASER_TIP",
"value": "(1u << 30)",
"comment": "eraser tip is used"
}
]
}
],
"functions": []
}