trimed trailing whitespaces.
This commit is contained in:
@@ -209,7 +209,7 @@ static void send_stylus_touch(uint16_t x, uint16_t y, bool state)
|
|||||||
|
|
||||||
static bool has_stylus_pen = false;
|
static bool has_stylus_pen = false;
|
||||||
|
|
||||||
hid_stylus_report_t report =
|
hid_stylus_report_t report =
|
||||||
{
|
{
|
||||||
.attr = 0,
|
.attr = 0,
|
||||||
.x = 0,
|
.x = 0,
|
||||||
|
@@ -340,7 +340,7 @@ typedef struct TU_ATTR_PACKED
|
|||||||
} hid_stylus_report_t;
|
} hid_stylus_report_t;
|
||||||
|
|
||||||
// Standard Stylus Pen Attributes Bitmap.
|
// Standard Stylus Pen Attributes Bitmap.
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
STYLUS_ATTR_TIP_SWITCH = TU_BIT(0), ///< Tip switch
|
STYLUS_ATTR_TIP_SWITCH = TU_BIT(0), ///< Tip switch
|
||||||
STYLUS_ATTR_IN_RANGE = TU_BIT(1), ///< In-range bit.
|
STYLUS_ATTR_IN_RANGE = TU_BIT(1), ///< In-range bit.
|
||||||
|
Reference in New Issue
Block a user