Skip to content

Commit

Permalink
fix: force into hidraw mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Apr 20, 2022
1 parent 76470b8 commit d41695e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/devices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ import Infinitton from 'infinitton-idisplay'
import { InfinittonWrapper } from './device-types/infinitton.js'
import * as HID from 'node-hid'

// Force into hidraw mode
HID.setDriverType('hidraw')
HID.devices()

export class DeviceManager {
private readonly devices: Map<DeviceId, WrappedDevice>
private readonly client: CompanionSatelliteClient
Expand Down

0 comments on commit d41695e

Please sign in to comment.