Skip to content

Wooting dev portal

The resource guide for Wooting code

Wooting dev portal

  • Introduction developer portal
  • Analog SDK guide
    • Introduction
    • Analog API description
    • Basic example with Node
    • Advanced example with Node
    • Unity example
  • RGB SDK guide
    • Introduction
    • RGB API description
    • Basic example with Node
    • Advanced example with Node
  • Spotlight
Search

Overview

First posted: February 16, 2020February 16, 2020Filed under: Wooting analog SDK guide

If you wish to use the SDK, you should be dynamically linking to the wooting-analog-wrapper library and shipping it with your application. The way the SDK works is that it uses the wrapper to try and find the SDK at runtime, so it may gracefully error if the SDK isn’t found. The wrapper library just passes through SDK calls to the actual SDK, so if there is an SDK update with new features, you only need to update your wrapper when you wish to use them.

Getting Started

To get started, make sure you have the SDK & Wooting plugin installed. Follow the installation instructions from the SDK Readme.

Then download & extract the .tar.gz for the platform you’re targeting from the latest release. Inside the $extract/wrapper directory you’ll find the wrapper lib you should link to and all the headers you may need.

Keycodes

By default the SDK will use the USB HID codes (see table 10.6) to identify keys. This can be changed using the Set Keycode Mode function, which changes the keycodes taken by read_analog and the keycodes given in read_full_buffer. The available options are:

  • HID: The standard USB HID codes (default) List on table 10.6
  • ScanCode1: Scan codes set 1, see Set 1 column on table 10.6 (Escape codes can be given as either a 0x1 or 0xE0 prefix)
  • VirtualKey: Windows Virtual Key codes
  • VirtualKeyTranslate: Windows Virtual Key codes but they are translated based on layout, so requesting the letter Q gets the key that inputs Q on the selected layout, rather than always getting the key right of tab (the standard Q position) like VirtualKey would.

Links

  • Main Analog SDK Repository
  • Official Analog SDK wrappers
  • Analog SDK Plugin for Wooting Devices
  • Examples Device Plugins
  • Unreal Engine Plugin
Wooting analog SDK guide

Post navigation

Previous Post:

Analog API description

Next Post:

Introduction

About the Author

Simon

All posts bySimon

Hide

Wooting analog SDK guide

  • Introduction
  • Overview
  • Analog API description
  • C# Guide
  • Plugins Overview

SDK's

  • Guide analog SDK
  • Guide RGB SDK

Useful links

  • About us
  • Wooting blog
  • Wooting one
  • Wooting two
Visit Us On FacebookVisit Us On TwitterVisit Us On InstagramVisit Us On Youtube

Want to submit a creation you made using one of our API’s? Hop on over to our Discord and let us know what you made.

  • contest
  • Vote now!
  • Wooting dev portal