Logitech Orbit/Sphere Mover DLL Library
This DLL (dynamic-link library) will allow to control Logitech Orbit/Sphere web-cameras. As of this moment, the library is only capable of panning the camera left and right, tilting up and down, and resetting the camera position to home. It uses Logitech drivers themselves to send signals to the camera. The codes to talk with the drivers have been fished out using the 'devlog' program (included in the package), which hooks DeviceIoControl() and logs all parameters given to that API procedure. Using these log files, the commands for camera movement have been determined. This particular library, unlike others, does not require any additional system drivers, such libusb, to be installed.
Documentation
Reloads the list of system devices to operate on.
Retrieves the number of system devices to operate on.
Retrieves the path of a device. iDeviceIndex is in range of 0 to GetDeviceCount()-1.
Opens the device with specified path, and returns a handle to it.
If failed, returns 0.
Note: HANDLE is a 32-bit integer.
Closes an opened device, by its handle. Returns whether operation succeeded or not.
Pans camera, specified by device handle, to the left.
Pans camera, specified by device handle, to the right.
Tilts camera, specified by device handle, up.
Tilts camera, specified by device handle, down.
Moves the camera to its home position.
Pans and tilts the camera. iPosition can be a bitwise combination of the following:
- MOVE_HOME = 0x00000000
- MOVE_LEFT = 0x0000FF80
- MOVE_RIGHT = 0x00000080
- MOVE_TOP = 0xFF800000
- MOVE_BOTTOM = 0x00800000
Updates - v1.1
- Fixed a memory allocation issue.
Known Issues
- No support for absolute positioning.
- No support for zooming.
- No support for smaller step movement.
License
The project is released under the BSD license.
Download
logimove-1.1.rar (487 KB)
Older versions:
logimove-1.0.rar (487 KB)Note: You need WinRAR to extract the file above.
Comments
[an error occurred while processing this directive]