Skip to content

Commit ccccdb9

Browse files
committed
Version 1.1.0
1 parent 34c81a7 commit ccccdb9

File tree

10 files changed

+395
-340
lines changed

10 files changed

+395
-340
lines changed

LICENSE

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
MIT License
2-
3-
Copyright (c) 2017 ZulNs
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
1+
MIT License
2+
3+
Copyright (c) 2017 ZulNs
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

examples/Input-String-on-LCD-1602/Input-String-on-LCD-1602.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,4 +355,4 @@ byte getAlphabet(byte chr, byte ctr) {
355355
}
356356
return alpha;
357357
}
358-
358+

examples/Key-States-Test-on-LCD-1602/Key-States-Test-on-LCD-1602.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ void loop() {
9797
lcd.setCursor( 0, 1 );
9898
lcd.print( F( " " ) );
9999
}
100-
}
100+
}

examples/Key-States-Test-on-Serial-Monitor/Key-States-Test-on-Serial-Monitor.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ void loop() {
7676
case KEY_UP:
7777
Serial.println( F( " up" ) );
7878
}
79-
}
79+
}

examples/Typewriting-demo-on-LCD-1602/Typewriting-demo-on-LCD-1602.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,4 +366,4 @@ byte getAlphabet( byte chr, byte ctr ) {
366366
}
367367
return alpha;
368368
}
369-
369+

keywords.txt

Lines changed: 52 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,52 @@
1-
#######################################
2-
# Syntax Coloring Map Keypad
3-
#######################################
4-
5-
#######################################
6-
# Datatypes (KEYWORD1)
7-
#######################################
8-
MultitapKeypad KEYWORD1
9-
Key KEYWORD1
10-
11-
#######################################
12-
# Methods and Functions (KEYWORD2)
13-
#######################################
14-
getKey KEYWORD2
15-
resetTapCounter KEYWORD2
16-
attachFunction KEYWORD2
17-
code KEYWORD2
18-
character KEYWORD2
19-
lastCode KEYWORD2
20-
beforeLastCode KEYWORD2
21-
tapCounter KEYWORD2
22-
state KEYWORD2
23-
24-
#######################################
25-
# Constants (LITERAL1)
26-
#######################################
27-
KEY_CODE LITERAL1
28-
NO_KEY LITERAL1
29-
KEY_1 LITERAL1
30-
KEY_2 LITERAL1
31-
KEY_3 LITERAL1
32-
KEY_A LITERAL1
33-
KEY_4 LITERAL1
34-
KEY_5 LITERAL1
35-
KEY_6 LITERAL1
36-
KEY_B LITERAL1
37-
KEY_7 LITERAL1
38-
KEY_8 LITERAL1
39-
KEY_9 LITERAL1
40-
KEY_C LITERAL1
41-
KEY_ASTERISK LITERAL1
42-
KEY_0 LITERAL1
43-
KEY_NUMBER_SIGN LITERAL1
44-
KEY_D LITERAL1
45-
KEY_STATE LITERAL1
46-
KEY_DOWN LITERAL1
47-
MULTI_TAP LITERAL1
48-
LONG_TAP LITERAL1
49-
MULTI_KEY_DOWN LITERAL1
50-
KEY_UP LITERAL1
1+
#######################################
2+
# Syntax Coloring Map Keypad
3+
#######################################
4+
5+
#######################################
6+
# Datatypes (KEYWORD1)
7+
#######################################
8+
MultitapKeypad KEYWORD1
9+
Key KEYWORD1
10+
11+
#######################################
12+
# Methods and Functions (KEYWORD2)
13+
#######################################
14+
getKey KEYWORD2
15+
resetTapCounter KEYWORD2
16+
attachFunction KEYWORD2
17+
code KEYWORD2
18+
character KEYWORD2
19+
lastCode KEYWORD2
20+
beforeLastCode KEYWORD2
21+
tapCounter KEYWORD2
22+
state KEYWORD2
23+
isCanceled KEYWORD2
24+
25+
#######################################
26+
# Constants (LITERAL1)
27+
#######################################
28+
KEY_CODE LITERAL1
29+
NO_KEY LITERAL1
30+
KEY_1 LITERAL1
31+
KEY_2 LITERAL1
32+
KEY_3 LITERAL1
33+
KEY_A LITERAL1
34+
KEY_4 LITERAL1
35+
KEY_5 LITERAL1
36+
KEY_6 LITERAL1
37+
KEY_B LITERAL1
38+
KEY_7 LITERAL1
39+
KEY_8 LITERAL1
40+
KEY_9 LITERAL1
41+
KEY_C LITERAL1
42+
KEY_ASTERISK LITERAL1
43+
KEY_0 LITERAL1
44+
KEY_NUMBER_SIGN LITERAL1
45+
KEY_D LITERAL1
46+
KEY_STATE LITERAL1
47+
KEY_DOWN LITERAL1
48+
MULTI_TAP LITERAL1
49+
LONG_TAP LITERAL1
50+
MULTI_KEY_DOWN LITERAL1
51+
KEY_UP LITERAL1
52+
CANCELED LITERAL1

library.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
{
2-
"name": "MultitapKeypad",
3-
"keywords": "Keypad, multi-tap, long-tap",
4-
"description": "A library (driver) for matrix 4x3 or 4x4 keypad supports multi-tap and long-tap.",
5-
"repository":
6-
{
7-
"type": "git",
8-
"url": "https://github.com/ZulNs/MultitapKeypad.git"
9-
},
10-
"frameworks": "arduino",
11-
"platforms":
12-
[
13-
"atmelavr"
14-
]
1+
{
2+
"name": "MultitapKeypad",
3+
"keywords": "Keypad, multi-tap, long-tap",
4+
"description": "A library (driver) for matrix 4x3 or 4x4 keypad supports multi-tap and long-tap.",
5+
"repository":
6+
{
7+
"type": "git",
8+
"url": "https://github.com/ZulNs/MultitapKeypad.git"
9+
},
10+
"frameworks": "arduino",
11+
"platforms":
12+
[
13+
"atmelavr"
14+
]
1515
}

library.properties

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name=MultitapKeypad
2-
version=1.0.2
3-
author=ZulNs
4-
maintainer=ZulNs <zul.nasibu@gmail.com>
5-
sentence=A library (driver) for matrix 4x3 or 4x4 keypad supports multi-tap and long-tap.
6-
paragraph= The library allows to interface with matrix 4x3 phone's keypad as well as matrix 4x4 keypad, supports multi-tap/long-tap states to simplify implement of customizable access to all characters (upper and lower cases), numbers and symbols.
7-
category=Sensors
8-
url=https://github.com/ZulNs/MultitapKeypad
9-
architectures=avr
1+
name=MultitapKeypad
2+
version=1.1.0
3+
author=ZulNs
4+
maintainer=ZulNs <zul.nasibu@gmail.com>
5+
sentence=A library (driver) for matrix 4x3 or 4x4 keypad supports multi-tap and long-tap.
6+
paragraph= The library allows to interface with matrix 4x3 phone's keypad as well as matrix 4x4 keypad, supports multi-tap/long-tap states to simplify implement of customizable access to all characters (upper and lower cases), numbers and symbols.
7+
category=Sensors
8+
url=https://github.com/ZulNs/MultitapKeypad
9+
architectures=avr

0 commit comments

Comments
 (0)