Skip to content

Painter602/Joystick-Monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Joystick Monitor

Purpose

A program to echo joystick actions in a window. The window has a green background and is intended to be monitored as a window in OBS studio. Note: this is not written as a plugin for OBS, but could be adapted.

Joystick Monitor in action

A video showing the joystick monitor in action: https://youtu.be/V1cWxxpPcrc

Images

Sticks

Joystick images are .svg files, 240 pixels square. Other sizes should work, but have not been tested.

00.svg Strafe stick
01.svg Pitch & Roll stick
99.svg Stick centre

Buttons

Buttons are square .svg images, not more than 1/8 the size of the Joystick images, preferably smaller.

1/8 - 12 would works well; i.e. 240/8-12 -> 68 pixels (widget margines default to 6 pixels either side on my system).

b_10.svg Button 1
b_13.svg Other buttons, on
b_99.svg Buttons, off

To display the buttons, right click on the monitor's main screen, and select the option.

To Do

  • Adapt to work with HOTAS set-ups (Hands On Throttle And Stick). Games throttles often have two, side-by-side, sliders.
  • Display other stick/slider inputs
  • Simplify finding images in memory; the program uses a quirky approach to storing and finding images in memory.
  • Attach icon at build time

Disclaimers

The program was written for a pair of Virpil joysticks (HOSAS) and rudder, and has not been tested with other products. It should be possible to use with other products.

This was my first Rust project, I am certain the code could be better in all sorts of ways.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published