logitech-g27 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2015-2021 Kai Nightmode
3
+ Copyright (c) 2015-2022 Kai Nightmode
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- <img src="https://raw.githubusercontent.com/nightmode/logitech-g27/master/images/header.png" width="888" alt="">
1
+ <img src="https://raw.githubusercontent.com/nightmode/logitech-g27/main/images/header.png" width="830" alt="">
2
2
 
3
3
  # Logitech G27 Racing Wheel for Node
4
4
 
@@ -64,14 +64,9 @@ Vroom vroom sounds optional but encouraged. ^\_^
64
64
  * [relay](docs/api.md#relay)
65
65
  * [relayOS](docs/api.md#relayos)
66
66
 
67
- ## Support
67
+ ## Donate
68
68
 
69
- Help [support this project](https://www.patreon.com/nightmode) on Patreon. Help me caretake and craft new software, videos, and interactive art. All for as little as $1 a month.
70
-
71
- In addition to Patreon, here are some other ways you can help this project.
72
-
73
- * [Report any issues](https://github.com/nightmode/logitech-g27/issues) on GitHub.
74
- * Share your G27 wheel creation on social media to inspire others.
69
+ Buy me [Bubble Tea](https://ko-fi.com/kai_nightmode). Support my work and get the ability to send me private messages on Ko-fi. ^_^
75
70
 
76
71
  ## License
77
72
 
package/code/color.js CHANGED
@@ -55,7 +55,7 @@ function setupColors() {
55
55
  }
56
56
 
57
57
  if (platform === 'win32' || platform === 'win64') {
58
- // use brigher versions of these colors
58
+ // use brighter versions of these colors
59
59
  color.red = color.redBright
60
60
  color.green = color.greenBright
61
61
  color.yellow = color.yellowBright
package/code/data-map.js CHANGED
@@ -116,7 +116,7 @@ Details on each item of the read buffer provided by node-hid for the Logitech G2
116
116
  //-----------
117
117
  function dataMap(dataDiffPositions, data, memory) {
118
118
  /*
119
- Figure out what has changed since the last event and call relevent functions to translate those changes to a memory object.
119
+ Figure out what has changed since the last event and call relevant functions to translate those changes to a memory object.
120
120
  @param {Object} dataDiffPositions An array.
121
121
  @param {Buffer} data Buffer data from a node-hid event.
122
122
  @param {Object} memory Memory object to modify.
package/code/index.js CHANGED
@@ -259,7 +259,7 @@ function userOptions(opt) {
259
259
  //----------------
260
260
  function leds(setting) {
261
261
  /*
262
- Control the shift indicator LEDs using a variety of convience methods.
262
+ Control the shift indicator LEDs using a variety of convenience methods.
263
263
  @param {*} setting String, Number, or Array setting. Optional. See API documentation for more info.
264
264
  */
265
265
 
@@ -393,7 +393,7 @@ function forceConstant(number) {
393
393
 
394
394
  function forceFriction(number) {
395
395
  /*
396
- Set or disable the ammount of friction present when turning the wheel.
396
+ Set or disable the amount of friction present when turning the wheel.
397
397
  @param {Number} number Number between 0 and 1. Optional.
398
398
  */
399
399
  if (typeof number === 'undefined') number = 0
package/docs/api.md CHANGED
@@ -113,7 +113,7 @@ Not enough events for you? Try subscribing to `all`, `changes`, or `data` for ev
113
113
 
114
114
  ### event map
115
115
 
116
- [![Event Map](https://raw.github.com/nightmode/logitech-g27/master/images/event-map.png)](https://raw.github.com/nightmode/logitech-g27/master/images/event-map.png)
116
+ [![Event Map](https://raw.github.com/nightmode/logitech-g27/main/images/event-map.png)](https://raw.github.com/nightmode/logitech-g27/main/images/event-map.png)
117
117
 
118
118
  ### on
119
119
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "logitech-g27",
3
3
  "description": "Logitech G27 Racing Wheel for Node",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "author": "Kai Nightmode",
6
6
  "dependencies": {
7
7
  "node-hid": "2.1.1"
@@ -10,8 +10,8 @@
10
10
  "node": ">=8"
11
11
  },
12
12
  "funding": {
13
- "type": "patreon",
14
- "url": "https://www.patreon.com/nightmode"
13
+ "type": "individual",
14
+ "url": "https://ko-fi.com/kai_nightmode"
15
15
  },
16
16
  "keywords": [
17
17
  "logitech",