Skip to content

Commit

Permalink
chore: fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
nytamin committed Apr 7, 2021
1 parent 9ecaa6e commit 7523758
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 55 deletions.
4 changes: 2 additions & 2 deletions examples/basic-log-all-events.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { XKeysWatcher } = require('../dist') // require('xkeys')
const { XKeysWatcher } = require('xkeys')

/*
This example connects to any conncted x-keys panel and logs
This example connects to any conncted x-keys panels and logs
whenever a button is pressed or analog thing is moved
*/

Expand Down
2 changes: 1 addition & 1 deletion examples/manually-connect.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { XKeys } from 'xkeys'
const { XKeys } = require('xkeys')

/*
This example shows how to use XKeys.setupXkeysPanel()
Expand Down
52 changes: 0 additions & 52 deletions examples/xkeys.ts

This file was deleted.

0 comments on commit 7523758

Please sign in to comment.