0% found this document useful (0 votes)
147 views3 pages

Ultimarc UltraStik 360 SDK Overview

The Ultimarc UltraStik 360 SDK provides source code examples for controlling Ultimarc UltraStik 360 joysticks in C#, C++, Delphi, VB6 and VB.NET. It includes functions for initializing and shutting down joysticks, getting device information and settings, loading joystick maps, and more. The first release of the SDK was on February 6, 2008.

Uploaded by

Luis Lopez
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
147 views3 pages

Ultimarc UltraStik 360 SDK Overview

The Ultimarc UltraStik 360 SDK provides source code examples for controlling Ultimarc UltraStik 360 joysticks in C#, C++, Delphi, VB6 and VB.NET. It includes functions for initializing and shutting down joysticks, getting device information and settings, loading joystick maps, and more. The first release of the SDK was on February 6, 2008.

Uploaded by

Luis Lopez
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

Ultimarc UltraStik 360 SDK v1.

0
Developed by Headsoft for Ultimarc

Description
The Ultimarc UltraStik 360 SDK is a collection of source code examples for
controlling the UltraStik 360 joysticks by Ultimarc.

For more information on these devices please visit:

 UltraStik 360 - [Link]

It contains source code projects in the following languages:

 C#
 C++
 Delphi
 VB6
 [Link]

Main Functions
int UltraStik_Initialize();
 Initialize the joysticks
 Returns the number of joysticks found
 Joysticks are sorted by ProductId and referenced via an id (0 = Joystick 1, 1 =
Joystick 2, 2 = Joystick 3, 3 = Joystick 4)

void UltraStik_Shutdown();
 Shutdown joysticks

int UltraStik_GetVendorId(int id);


 Return the vendor id for joystick specified by id

int UltraStik_GetProductId(int id);


 Return the product id for joystick specified by id

void UltraStik_GetManufacturer(int id, char *sManufacturer);


 Get the manufacturer name for joystick specified by id
 The string is written to sManufacturer which must be a pointer to a char buffer of
256 bytes

void UltraStik_GetProduct(int id, char *sProduct);


 Get the product name for joystick specified by id
 The string is written to sProduct which must be a pointer to a char buffer of 256
bytes

12/8/2021 Ultimarc UltraStik 360 SDK v1.0 Page 1 of 3


Ultimarc UltraStik 360 SDK v1.0
Developed by Headsoft for Ultimarc

void UltraStik_GetSerialNumber(int id, char *sSerialNumber);


 Get the serial number for joystick specified by id
 The string is written to sSerialNumber which must be a pointer to a char buffer of
256 bytes

int UltraStik_GetFirmwareVersion(int id);


 Return the firmware version for joystick specified by id

void UltraStik_SetRestrictor(int id, bool value);


 Set the restrictor of the joystick specified by id to on or off

void UltraStik_SetFlash(int id, bool value);


 Set the flash of the joystick specified by id
 true = Flash, false = RAM

int UltraStik_GetUltraStikId(int id);


 Return the UltraStik id for joystick specified by id

void UltraStik_SetUltraStikId(int id, int value);


 Set the UltraStik id for the joystick specified by id
 0 = Id1, 1 = Id2, 2 = Id3, 3 = Id4

bool UltraStik_LoadMap(int id, char *map);


 Load a built in map into the joystick specified by id
 Valid values for map:

o “joy2way” - 2-way horizontal joystick


o “vjoy2way” - 2-way vertical joystick
o “joy4way” - 4-way joystick
o “djoy4way” - 4-way diagonal joystick
o “rdjoy4way” - 4-way rotated diagonal joystick
o “joy8way” - 8-way joystick
o “easyjoy8way” - 8-way joystick with easy diagonals
o “analog” - analog joystick (used for 49-way as well)
o “mouse” - acts like a PC mouse

 Return true for success and false for fail

bool UltraStik_LoadMapFile(int id, char *fileName);


 Load a .um map file into the joystick specified by id
 fileName is a pointer to a full path of the .um file to load
 Return true for success and false for fail

12/8/2021 Ultimarc UltraStik 360 SDK v1.0 Page 2 of 3


Ultimarc UltraStik 360 SDK v1.0
Developed by Headsoft for Ultimarc

Release Dates
 2-6-2008 - 1.0 - First Release

Contact
Andy Warne (UltraStik 360 Manufacturer)
andy@[Link] / [Link]

Ben Baker (UltraStik 360 SDK Developer)


benbaker@[Link] / [Link]

12/8/2021 Ultimarc UltraStik 360 SDK v1.0 Page 3 of 3

You might also like