blob: 138410fb62cd566eae009d0b3095bf29bb753d7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#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;
}
|