Skip to content

netpad3/spec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

netpad3

UDP protocol, default port 6723

Each message consists of one or more sections, separated by ;. Number of inputs should not change during a session, and will likely cause a reconnection.

Use the same port throughout a session, as it is used to identify your connection.

Section 1: Axes

List of axis values, integers from -32767 to 32767, separated by ,

Section 2: Buttons

Buttons specified as binary digits, with a leading 1, sent as hexadecimal.

Example: 40, meaning there are 6 buttons, but none are pressed

Number of buttons can be derived via floor(log(value)/log(2))

Additional sections

Remaining sections are identified by beginning with a type ID followed by a :. None have been currently defined.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published