packages feed

dear-imgui-raw-internal-1.0.0: src/DearImGui/Raw/Internal/Enums/ImGuiInputSource.hsc

{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}

-- This file was generated by dear-bindings-ffi. Do not edit by hand.

module DearImGui.Raw.Internal.Enums.ImGuiInputSource
  ( ImGuiInputSource
  , pattern COUNT
  , pattern Gamepad
  , pattern Keyboard
  , pattern Mouse
  , pattern None
  ) where

import Foreign.C.Types

#include "dcimgui_nodefaultargfunctions_internal.h"

-- enums

type ImGuiInputSource = CInt

pattern None :: ImGuiInputSource
pattern None = #{const ImGuiInputSource_None}

-- | Note: may be Mouse or TouchScreen or Pen. See io.MouseSource to distinguish them.
pattern Mouse :: ImGuiInputSource
pattern Mouse = #{const ImGuiInputSource_Mouse}

pattern Keyboard :: ImGuiInputSource
pattern Keyboard = #{const ImGuiInputSource_Keyboard}

pattern Gamepad :: ImGuiInputSource
pattern Gamepad = #{const ImGuiInputSource_Gamepad}

pattern COUNT :: ImGuiInputSource
pattern COUNT = #{const ImGuiInputSource_COUNT}