aboutsummaryrefslogtreecommitdiff
path: root/src/cli.c
diff options
context:
space:
mode:
authorKen Chen <[email protected]>2021-05-29 13:03:50 +1000
committerKen Chen <[email protected]>2021-05-29 13:03:50 +1000
commit63579b2301ac97583c9376bb8f4c31ae5c36c54f (patch)
tree4dff332e185978bc288b236ce83d8233fd0e59cd /src/cli.c
parent2ca85a2bcdbf5e4b3938b95754d06b96de382bd9 (diff)
downloadlibrazermacos-63579b2301ac97583c9376bb8f4c31ae5c36c54f.tar.xz
librazermacos-63579b2301ac97583c9376bb8f4c31ae5c36c54f.zip
sample CLI implementation
Diffstat (limited to 'src/cli.c')
-rw-r--r--src/cli.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/cli.c b/src/cli.c
deleted file mode 100644
index 138410f..0000000
--- a/src/cli.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include<stdio.h>
-#include "razerdevice.h"
-#include "razerkbd_driver.h"
-
-int main(int argc, const char * argv[]) {
-
- IOUSBDeviceInterface **dev = getRazerUSBDeviceInterface(0);
- printf("Getting Razer usb device\n");
-
- if (dev == NULL) {
- printf("No device found\n");
- return -1; // Assume appropriate error message displayed during the lookup
- }
-
- return 0;
-
-}