HomeSort by relevance Sort by last modified time
    Searched refs:hidDevice (Results 1 - 2 of 2) sorted by null

  /device/moto/stingray/whisper/
Whisper_AccyMain.c 173 char hidDevice[] = "/dev/hidraw0";
182 hidFd = open(hidDevice, O_RDWR);
185 DBG_ERROR("Failed to open HID Device:%s", hidDevice);
192 DBG_ERROR("ioctl cmd:HIDIOCGRAWINFO failed for %s", hidDevice);
196 DBG_TRACE("Found HD Dock: %s", hidDevice);
200 DBG_ERROR("Device: %s not a HD dock", hidDevice);
201 close(hidDevice);
205 hidDevice[11]++;
209 hidDevice[11] = '0';
  /external/qemu/distrib/sdl-1.2.12/src/joystick/darwin/
SDL_sysjoystick.c 168 static IOReturn HIDCreateOpenDeviceInterface (io_object_t hidDevice, recDevice *pDevice)
177 result = IOCreatePlugInInterfaceForService (hidDevice, kIOHIDDeviceUserClientTypeID,
422 static void HIDGetDeviceInfo (io_object_t hidDevice, CFMutableDictionaryRef hidProperties, recDevice *pDevice)
430 if ((KERN_SUCCESS == IORegistryEntryGetParentEntry (hidDevice, kIOServicePlane, &parent1)) &&
489 static recDevice *HIDBuildDevice (io_object_t hidDevice)
496 kern_return_t result = IORegistryEntryCreateCFProperties (hidDevice, &hidProperties, kCFAllocatorDefault, kNilOptions);
500 result = HIDCreateOpenDeviceInterface (hidDevice, pDevice);
503 HIDGetDeviceInfo (hidDevice, hidProperties, pDevice); /* hidDevice used to find parents in registry tree */

Completed in 414 milliseconds