// Autogenerated C header file for Planar position
#ifndef _JACDAC_SPEC_PLANAR_POSITION_H
#define _JACDAC_SPEC_PLANAR_POSITION_H 1

#define JD_SERVICE_CLASS_PLANAR_POSITION  0x1dc37f55

// enum Variant (uint8_t)
#define JD_PLANAR_POSITION_VARIANT_OPTICAL_MOUSE_POSITION 0x1

/**
 * The current position of the sensor.
 */
#define JD_PLANAR_POSITION_REG_POSITION JD_REG_READING
typedef struct jd_planar_position_position {
    int32_t x;  // mm i22.10
    int32_t y;  // mm i22.10
} jd_planar_position_position_t;


/**
 * Constant Variant (uint8_t). Specifies the type of physical sensor.
 */
#define JD_PLANAR_POSITION_REG_VARIANT JD_REG_VARIANT

#endif
