#ifndef DEFINES_INPUT_H
#define DEFINES_INPUT_H

/*
    *** Automatically generated from '/home/aros/ABIv11/AROS/AROS/rom/devs/input/input.conf'. Edits will be lost. ***
    Copyright (C) 1995-2026, The AROS Development Team. All rights reserved.
*/

/*
    Desc: Defines for input
*/

#include <aros/libcall.h>
#include <exec/types.h>
#include <aros/symbolsets.h>
#include <aros/preprocessor/variadic/cast2iptr.hpp>

#if !defined(__INPUT_LIBBASE)
#define __INPUT_LIBBASE __aros_getbase_InputBase()
#endif
#ifndef __aros_getbase_InputBase
extern struct Device *__aros_getbase_InputBase(void);
#endif

__BEGIN_DECLS


#if !defined(__INPUT_LIBAPI__) || (41 <= __INPUT_LIBAPI__)

#define __PeekQualifier_WB(__InputBase) ({\
        AROS_LIBREQ(InputBase,41)\
        AROS_LC0(UWORD, PeekQualifier,\
        struct Device *, (__InputBase), 7, Input);\
})

#define PeekQualifier() \
    __PeekQualifier_WB(__INPUT_LIBBASE)

#endif /* !defined(__INPUT_LIBAPI__) || (41 <= __INPUT_LIBAPI__) */

__END_DECLS

#endif /* DEFINES_INPUT_H*/
