Skip to content

Commit

Permalink
fix typo, edit version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
hainguyents13 committed Dec 20, 2019
1 parent e1d654b commit 73156f8
Show file tree
Hide file tree
Showing 24 changed files with 345 additions and 11 deletions.
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<!-- Navbar Section -->
<nav class="navbar navbar-expand-md navbar-light bg-light fixed-top">
<div class="container container-s">
<a class="navbar-brand" href="#">Mechvibes.</a>
<a class="navbar-brand" href="#">Mechvibes</a>
<button
class="navbar-toggler"
type="button"
Expand Down Expand Up @@ -144,8 +144,8 @@ <h1>Download Mechvibes <span class="version" style="color: #dc3545">-</span></h1
</div>
</div>
</div>
<h6 style="margin-bottom: 10px; color: #333; font-size: 13px">Last changes:</h6>
<p style="color: #999; font-size: 12px">hello</p>
<!-- <h6 style="margin-bottom: 10px; color: #333; font-size: 13px">Last changes:</h6>
<p style="color: #999; font-size: 12px">hello</p> -->
</div>
<!-- Array Pricing Ends -->

Expand Down Expand Up @@ -192,7 +192,7 @@ <h2>Total downloads.</h2>
<div class="container">
<div class="row">
<div class="col-md-4">
<a class="footer-logo" href="#">Mechvibes.</a>
<a class="footer-logo" href="#">Mechvibes</a>
</div>
<div class="col-md-4">
<!-- <h6>&copy; IOThemes 2018 Rights Reserved</h6> -->
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "mechvibes",
"productName": "Mechvibes",
"version": "1.0.3",
"version": "1.1.0",
"description": "Play mechanical keyboard sounds as you type.",
"repository": "https://github.com/hainguyents13/mechvibes",
"main": "src/main.js",
"scripts": {
"start": "electron .",
"build:win": "electron-builder -w",
"build:win:zip": "electron-builder -w zip",
"build:mac": "electron-builder -m",
"build:linux": "electron-builder -l",
"build:linux:ai": "electron-builder -l AppImage"
Expand Down
111 changes: 111 additions & 0 deletions src/audio/black-abs/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
const set_name = 'CherryMX Black - ABS keycaps';
const set_tags = {
switches: 'cherrymx',
type: 'black',
feedback: 'linear',
is_lubed: false,
keycap: 'abs',
};
const sound_file = 'sound.ogg';
const keycodes = {
// row 1
'27': [2894, 226], // escape
'112': [3610, 195], // f1
'113': [4210, 180], // f2
'114': [4758, 180], // f3
'115': [5250, 199], // f4
'116': [5831, 209], // f5
'117': [6396, 210], // f6
'118': [6900, 210], // f7
'119': [7443, 221], // f8
'120': [7955, 181], // f9
'121': [8504, 209], // f10
'122': [9046, 187], // f11
'123': [9582, 191], // f12
'44': [132, 208], // 'print screen'
'145': [10763, 160], // 'scroll lock'
'19': [11270, 200], // pause/break

// row 2
'192': [12476, 200], // 'back quote'
'49': [12946, 191], // '1'
'50': [13470, 190], // '2'
'51': [13963, 199], // '3'
'52': [14481, 204], // '4'
'53': [14994, 187], // '5'
'54': [15505, 217], // '6'
'55': [15990, 193], // '7'
'56': [16529, 184], // '8'
'57': [17012, 205], // '9'
'48': [17550, 174], // '0'
'189': [18052, 186], // minus
'187': [18553, 177], // equals
'8': [19065, 220], // backspace
'45': [19634, 171], // insert
'36': [20143, 202], // home
'33': [20647, 193], // 'page up'

// row 3
'9': [21734, 238], // tab
'81': [22245, 190], // q
'87': [22790, 177], // w
'69': [23317, 166], // e
'82': [23817, 184], // r
'84': [24297, 183], // t
'89': [24811, 186], // y
'85': [25313, 189], // u
'73': [25795, 182], // i
'79': [26309, 167], // o
'80': [26804, 166], // p
'219': [27330, 169], // 'open bracket'
'221': [27883, 197], // 'close bracket'
'220': [28393, 200], // 'back slash'
'46': [28914, 212], // delete
'35': [29427, 177], // end
'34': [29928, 190], // 'page down'

// row 4
'20': [31011, 251], // 'caps lock'
'65': [31542, 170], // a
'83': [32031, 175], // s
'68': [32492, 169], // d
'70': [32973, 174], // f
'71': [33453, 188], // g
'72': [33986, 185], // h
'74': [34425, 176], // j
'75': [34932, 180], // k
'76': [35410, 190], // l
'186': [35914, 189], // semicolon
'222': [36428, 173], // quote
'13': [36902, 234], // enter

// row 5
'160': [38136, 265], // 'left shift'
'90': [38694, 160], // z
'88': [39148, 151], // x
'67': [39632, 190], // c
'86': [40136, 188], // v
'66': [40621, 214], // b
'78': [41103, 180], // n
'77': [41610, 186], // m
'188': [42110, 183], // comma
'190': [42594, 180], // period
'191': [43105, 190], // slash
'161': [43565, 273], // 'right shift'
'38': [44251, 220], // up

// row 6
'162': [45327, 165], // 'left control'
'91': [45750, 164], // 'left meta'
'164': [46199, 199], // 'left alt'
'32': [51541, 287], // space
'165': [47929, 149], // 'right alt'
'93': [48381, 168], // menu key // 'right meta'
/* blank */
'163': [49329, 164], // 'right control' ////////////////////// up
'37': [49837, 176], // left
'40': [50333, 179], // down
'39': [50783, 221], // right
};

module.exports = { set_name, set_tags, keycodes, sound_file };
Binary file added src/audio/black-abs/sound.ogg
Binary file not shown.
2 changes: 1 addition & 1 deletion src/audio/black-pbt/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const set_tags = {
is_lubed: false,
keycap: 'pbt',
};
const sound_file = 'sound.wav';
const sound_file = 'sound.ogg';
const keycodes = {
// row 1
'27': [2078, 176], // escape
Expand Down
Binary file added src/audio/black-pbt/sound.ogg
Binary file not shown.
Binary file removed src/audio/black-pbt/sound.wav
Binary file not shown.
2 changes: 1 addition & 1 deletion src/audio/blue-abs/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const set_tags = {
is_lubed: false,
keycap: 'abs',
};
const sound_file = 'sound.wav';
const sound_file = 'sound.ogg';
const keycodes = {
// row 1
'27': [1754, 184], // escape
Expand Down
Binary file added src/audio/blue-abs/sound.ogg
Binary file not shown.
Binary file removed src/audio/blue-abs/sound.wav
Binary file not shown.
111 changes: 111 additions & 0 deletions src/audio/blue-pbt/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
const set_name = 'CherryMX Blue - PBT keycaps';
const set_tags = {
switches: 'cherrymx',
type: 'blue',
feedback: 'tactile,clicky',
is_lubed: false,
keycap: 'abs',
};
const sound_file = 'sound.ogg';
const keycodes = {
// row 1
'27': [1203, 192], // escape
'112': [1783, 185], // f1
'113': [2336, 204], // f2
'114': [2884, 182], // f3
'115': [3404, 188], // f4
'116': [3940, 168], // f5
'117': [4487, 165], // f6
'118': [5013, 178], // f7
'119': [5510, 187], // f8
'120': [6048, 207], // f9
'121': [6609, 174], // f10
'122': [7119, 175], // f11
'123': [7650, 174], // f12
'44': [8159, 221], // 'print screen'
'145': [8668, 222], // 'scroll lock'
'19': [9180, 193], // pause/break

// row 2
'192': [10318, 183], // 'back quote'
'49': [10794, 197], // '1'
'50': [11315, 196], // '2'
'51': [11814, 198], // '3'
'52': [12334, 185], // '4'
'53': [12845, 196], // '5'
'54': [13305, 188], // '6'
'55': [13846, 187], // '7'
'56': [14362, 197], // '8'
'57': [14881, 188], // '9'
'48': [15408, 180], // '0'
'189': [15901, 200], // minus
'187': [16410, 182], // equals
'8': [16906, 230], // backspace
'45': [17483, 175], // insert
'36': [17955, 189], // home
'33': [18419, 199], // 'page up'

// row 3
'9': [19473, 191], // tab
'81': [19944, 207], // q
'87': [20490, 183], // w
'69': [20995, 192], // e
'82': [21500, 186], // r
'84': [21993, 198], // t
'89': [22495, 185], // y
'85': [22970, 194], // u
'73': [23492, 179], // i
'79': [23972, 212], // o
'80': [24468, 181], // p
'219': [24955, 187], // 'open bracket'
'221': [25463, 172], // 'close bracket'
'220': [25952, 184], // 'back slash'
'46': [26567, 177], // delete
'35': [27069, 190], // end
'34': [27541, 169], // 'page down'

// row 4
'20': [28470, 191], // 'caps lock'
'65': [28961, 164], // a
'83': [29448, 171], // s
'68': [29968, 163], // d
'70': [30454, 208], // f
'71': [30944, 172], // g
'72': [31395, 186], // h
'74': [31884, 174], // j
'75': [32358, 172], // k
'76': [32358, 172], // l
'186': [33331, 191], // semicolon
'222': [33824, 166], // quote
'13': [34274, 204], // enter

// row 5
'160': [35598, 197], // 'left shift'
'90': [36143, 204], // z
'88': [36645, 165], // x
'67': [37120, 164], // c
'86': [37606, 181], // v
'66': [38062, 179], // b
'78': [38563, 163], // n
'77': [39025, 171], // m
'188': [39505, 172], // comma
'190': [39982, 152], // period
'191': [40437, 170], // slash
'161': [40939, 176], // 'right shift'
'38': [41501, 174], // up

// row 6
'162': [42603, 172], // 'left control'
'91': [43435, 155], // 'left meta'
'164': [43991, 192], // 'left alt'
'32': [49628, 230], // space
'165': [46069, 202], // 'right alt'
'93': [46544, 174], // menu key // 'right meta'
/* blank */
'163': [47002, 188], // 'right control'
'37': [47492, 178], // left
'40': [47981, 201], // down
'39': [48412, 201], // right
};

module.exports = { set_name, set_tags, keycodes, sound_file };
Binary file added src/audio/blue-pbt/sound.ogg
Binary file not shown.
2 changes: 1 addition & 1 deletion src/audio/brown-abs/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const set_tags = {
is_lubed: false,
keycap: 'abs',
};
const sound_file = 'sound.wav';
const sound_file = 'sound.ogg';
const keycodes = {
// row 1
'27': [1402, 170], // escape
Expand Down
Binary file added src/audio/brown-abs/sound.ogg
Binary file not shown.
Binary file removed src/audio/brown-abs/sound.wav
Binary file not shown.
2 changes: 1 addition & 1 deletion src/audio/brown-pbt/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const set_tags = {
is_lubed: false,
keycap: 'pbt',
};
const sound_file = 'sound.wav';
const sound_file = 'sound.ogg';
const keycodes = {
// row 1
'27': [2280, 199], // escape
Expand Down
Binary file added src/audio/brown-pbt/sound.ogg
Binary file not shown.
Binary file removed src/audio/brown-pbt/sound.wav
Binary file not shown.
2 changes: 1 addition & 1 deletion src/audio/red-abs/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const set_tags = {
is_lubed: false,
keycap: 'abs',
};
const sound_file = 'sound.wav';
const sound_file = 'sound.ogg';
const keycodes = {
// row 1
'27': [2464, 170], // escape
Expand Down
Binary file added src/audio/red-abs/sound.ogg
Binary file not shown.
Binary file removed src/audio/red-abs/sound.wav
Binary file not shown.
Loading

0 comments on commit 73156f8

Please sign in to comment.