|
|
@@ -3,7 +3,7 @@ let data = null
|
|
|
try {
|
|
|
const devices = HID.devices();
|
|
|
const logitech = devices.filter(el => el.manufacturer === 'Logitech' && el.product.includes('G923'));
|
|
|
- if(!logitech.length) throw '请链接罗技G923方向盘'
|
|
|
+ if(!logitech.length) throw 'Please link to G923'
|
|
|
data = new HID.HID(logitech[0].vendorId, logitech[0].productId);
|
|
|
data.on('data', (db) => {
|
|
|
if (process.connected) { process.send(db) } else {
|