Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

naga_x_support #869

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"variables": {
"openssl_fips": ""
},
"targets": [
{
"target_name": "addon",
Expand Down
2 changes: 1 addition & 1 deletion librazermacos
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
"license": "GPL-2.0-only",
"main": "src/main/index.js",
"scripts": {
"dev": "electron-webpack dev",
"compile": "electron-webpack",
"dist": "yarn compile && electron-builder",
"dist:dir": "yarn dist --dir -c.compression=store -c.mac.identity=null",
"rebuild": "node-gyp rebuild",
"clean": "node-gyp clean",
"prettier:js": "prettier --write \"src/{main,renderer}/**/*.{js,jsx}\""
"dev": "NODE_OPTIONS=--openssl-legacy-provider electron-webpack dev",
"compile": "NODE_OPTIONS=--openssl-legacy-provider electron-webpack",
"dist": "yarn compile && NODE_OPTIONS=--openssl-legacy-provider electron-builder",
"dist:dir": "yarn dist --dir -c.compression=store -c.mac.identity=null",
"rebuild": "node-gyp rebuild",
"clean": "node-gyp clean",
"prettier:js": "prettier --write \"src/{main,renderer}/**/*.{js,jsx}\""
},

"dependencies": {
"dot-prop": "^5.3.0",
"electron-json-storage": "^4.2.0",
Expand Down
15 changes: 15 additions & 0 deletions src/devices/naga_x.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "Razer Naga X",
"productId": "0x0096",
"mainType": "mouse",
"image": "https://assets.razerzone.com/eeimages/support/products/1704/product.png",
"features": null,
"featuresMissing": ["oldMouseEffects"],
"featuresConfig": [
{
"dpi": {
"max": 18000
}
}
]
}