133 lines
5.0 KiB
Plaintext
133 lines
5.0 KiB
Plaintext
Logitech Joystick SDK for PC
|
|
Copyright (C) 2009 Logitech Inc. All Rights Reserved
|
|
|
|
|
|
Introduction
|
|
--------------------------------------------------------------------------
|
|
|
|
This package enables developers to control the LEDs on the throttle of
|
|
the G940 joystick. The button colors can be set to off, green, amber
|
|
or red.
|
|
|
|
|
|
Contents of the package
|
|
--------------------------------------------------------------------------
|
|
|
|
- Logitech Joystick SDK header file and library.
|
|
- Demo project and executable
|
|
- Documentation
|
|
|
|
|
|
The environment for use of the package
|
|
--------------------------------------------------------------------------
|
|
|
|
1. Microsoft DirectX 9 SDK or higher
|
|
(http://msdn.microsoft.com/downloads)
|
|
|
|
2. DirectX Runtime 9.0c or higher (October 2006 update or higher).
|
|
|
|
3. Visual Studio 2005 to build and run the demo program
|
|
|
|
4. Drivers installed for G940 joystick (Logitech Gaming Software 5.06
|
|
or newer).
|
|
|
|
|
|
Disclaimer
|
|
--------------------------------------------------------------------------
|
|
|
|
This is work in progress. If you find anything wrong with either
|
|
documentation or code, please let us know so we can improve on it.
|
|
|
|
|
|
Where to start
|
|
--------------------------------------------------------------------------
|
|
|
|
For a demo program to set various colors on throttle buttons, do the
|
|
following:
|
|
|
|
Execute JoystickSDKDemo.exe.
|
|
|
|
Or:
|
|
|
|
1. Go to "Samples/JoystickSDKDemo" folder and open Visual Studio
|
|
project file.
|
|
|
|
2. Set the DirectX SDK include and lib folders in Visual Studio.
|
|
|
|
3. Compile and run.
|
|
|
|
4. Plug in G940 Joystick at any time.
|
|
|
|
|
|
To implement game controller support in your game:
|
|
|
|
1. Add "Include/LogiJoystick" and "Lib/x86/LogiJoystick.lib" to your
|
|
game.
|
|
|
|
2. Check method details in Doc/api.html
|
|
|
|
|
|
For questions/problems/suggestions email to:
|
|
cj@wingmanteam.com
|
|
roland@wingmanteam.com
|
|
|
|
|
|
|
|
|
|
End-User License Agreement for Logitech Joystick SDK Agreement
|
|
|
|
This End-User License Agreement for Logitech Joystick SDK Agreement (
|
|
"Agreement") is a legal agreement between you, either an individual or
|
|
legal entity ("You" or "you") and Logitech Inc. ("Logitech") for this
|
|
version of the Logitech joystick software development kit, which
|
|
includes computer software and related media and documentation
|
|
(hereinafter "Joystick SDK"). By installing, copying or otherwise
|
|
using the Joystick SDK, you agree to be bound by the terms of this
|
|
Agreement. If you do not agree to the terms of this Agreement, do not
|
|
install or use the Joystick SDK.
|
|
|
|
|
|
1 Grant of License and Restrictions. Logitech grants You a limited,
|
|
non-exclusive, nontransferable license to install and use an
|
|
unlimited number of copies of the Joystick SDK on computers for any
|
|
purpose. All other rights are reserved to Logitech.
|
|
|
|
2 Intellectual Property Rights. The Joystick SDK is licensed, not
|
|
sold, to You for use only under the terms and conditions of this
|
|
Agreement. Logitech and its suppliers retain title to the Joystick
|
|
SDK and all intellectual property rights therein. The Joystick SDK
|
|
is protected by intellectual property laws and international
|
|
treaties, including U.S. copyright law and international copyright
|
|
treaties. All rights not expressly granted by Logitech are
|
|
reserved.
|
|
|
|
3 Disclaimer of Warranty. TO THE MAXIMUM EXTENT PERMITTED BY
|
|
APPLICABLE LAW, LOGITECH AND ITS SUPPLIERS PROVIDE THE JOYSTICK SDK
|
|
AND OTHER LOGITECH PRODUCTS AND SERVICES (IF ANY) AS IS AND WITHOUT
|
|
WARRANTY OF ANY KIND. LOGITECH AND ITS SUPPLIERS EXPRESSLY DISCLAIM
|
|
ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
|
PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD-PARTY RIGHTS WITH
|
|
RESPECT TO THE JOYSTICK SDK AND ANY WARRANTIES OF NON-INTERFERENCE
|
|
OR ACCURACY OF INFORMATIONAL CONTENT. NO LOGITECH DEALER, AGENT, OR
|
|
EMPLOYEE IS AUTHORIZED TO MAKE ANY MODIFICATION, EXTENSION, OR
|
|
ADDITION TO THIS WARRANTY. Some jurisdictions do not allow
|
|
limitations on how long an implied warranty lasts, so the above
|
|
limitation may not apply to you.
|
|
|
|
4 Limitation of Liability. IN NO EVENT WILL LOGITECH OR ITS SUPPLIERS
|
|
BE LIABLE FOR ANY COSTS OF PROCUREMENT OF SUBSTITUTE PRODUCTS OR
|
|
SERVICES, LOST PROFITS, LOSS OF INFORMATION OR DATA, OR ANY OTHER
|
|
SPECIAL, INDIRECT, CONSEQUENTIAL, OR INCIDENTAL DAMAGES ARISING IN
|
|
ANY WAY OUT OF THE SALE OF, USE OF, OR INABILITY TO USE THE JOYSTICK
|
|
SDK OR ANY LOGITECH PRODUCT OR SERVICE, EVEN IF LOGITECH HAS BEEN
|
|
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN NO CASE SHALL
|
|
LOGITECH'S AND ITS SUPPLIERS' TOTAL LIABILITY EXCEED THE ACTUAL
|
|
MONEY PAID FOR THE LOGITECH PRODUCT OR SERVICE GIVING RISE TO THE
|
|
LIABILITY. Some jurisdictions do not allow the exclusion or
|
|
limitation of incidental or consequential damages, so the above
|
|
limitation or exclusion may not apply to you. The above limitations
|
|
will not apply in case of personal injury where and to the extent
|
|
that applicable law requires such liability.
|
|
|