From b3b1aaf8335df1d95f476a1b5af46eb59a2bb78a Mon Sep 17 00:00:00 2001 From: beegee1962 Date: Sat, 10 Apr 2021 14:08:02 +0800 Subject: [PATCH] Make it V1.0.1 --- library.json | 2 +- library.properties | 2 +- src/CAP1293.h | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/library.json b/library.json index 9ca2865..58f95f0 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "Arduino CAP1293 Touch Pad library", - "version": "1.0.0", + "version": "1.0.1", "keywords": [ "touch", "cap1293", diff --git a/library.properties b/library.properties index d919511..918e8ed 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Arduino CAP1293 Touch Pad library -version=1.0.0 +version=1.0.1 author=RAKWireless maintainer=RAKWireless sentence=RAKWireless library for the RAK14002 module with the CAP1293 sense IC diff --git a/src/CAP1293.h b/src/CAP1293.h index 87f22e8..df6439d 100644 --- a/src/CAP1293.h +++ b/src/CAP1293.h @@ -214,7 +214,7 @@ typedef union } MULTIPLE_TOUCH_PATTERN_REG; //////////////////////////////// -// CAP1293 Class Declearation // +// CAP1293 Class Declaration // //////////////////////////////// class CAP1293 { @@ -234,7 +234,7 @@ class CAP1293 bool isTouched(); // get which key is pressed or released(if enabled release interrupt) - uint8_t getTouchKeyStatus(bool keyStatus[], uint8_t num=3); + uint8_t getTouchKeyStatus(bool keyStatus[], uint8_t num = 3); // Check if a swipe has occured bool isRightSwipePulled(); @@ -270,7 +270,7 @@ class CAP1293 bool isPowerButtonEnabled(); bool isPowerButtonTouched(); - // Configures if sensor can detect more than one key input + // Configures if sensor can detect more than one key input void setMultiTouchEnabled(); void setMultiTouchDisabled(); @@ -283,10 +283,10 @@ class CAP1293 void setRepeatRateDisabled(); // MTP - void setMTPEnabled(bool left=true, bool middle=true, bool right=true); + void setMTPEnabled(bool left = true, bool middle = true, bool right = true); bool isMTPStatus(); - // Configures if interrupt triggers on Release touch key + // Configures if interrupt triggers on Release touch key void setReleaseInterruptDisabled(); void setReleaseInterruptEnabled(); bool isReleaseInterruptEnabled();