/**
 * usb_hid_generic_conf.c
 * 
 * Copyright (c) 2022 Bigscreen, Inc.
 */


#ifndef UDI_HID_GENERIC_CONF_H_
#define UDI_HID_GENERIC_CONF_H_

#define UDI_HID_REPORT_IN_SIZE			64
#define UDI_HID_REPORT_OUT_SIZE			4
#define UDI_HID_REPORT_FEATURE_SIZE		64
#define UDI_HID_GENERIC_EP_SIZE			64

#define UDI_HID_GENERIC_EP_IN			(1 | USB_EP_DIR_IN)
#define UDI_HID_GENERIC_EP_OUT			(2 | USB_EP_DIR_OUT)

//! Interface callback definition
#define  UDI_HID_GENERIC_ENABLE_EXT()       true
#define  UDI_HID_GENERIC_DISABLE_EXT()
#define  UDI_HID_GENERIC_REPORT_OUT(ptr)
#define  UDI_HID_GENERIC_SET_FEATURE(f)		usbhid_set_feature(f)
#define  UDI_HID_CRASHDUMP_SET_FEATURE(f)	usbhid_crashdump_set_feature(f)

#endif /* UDI_HID_GENERIC_CONF_H_ */