Thanks to visit codestin.com
Credit goes to github.com

Skip to content

zhing2006/nagi_joy_pc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nagi-joy-pc

License MSRV

English | 中文

Introduction

This is a server program based on vJoy that needs to be used together with nagi-joy-esp32. It receives controller data from nagi-joy-esp32 via the UDP protocol and forwards the data to vJoy according to the configuration file, implementing various functions of the game controller.

Features

  • Button
  • Axis
  • POV Hat

Configure

The configuration file is located at conf/config.toml, and its definition is as follows.

[service] // Define the UDP listening IP and port
  host = "0.0.0.0"
  port = 8888

[joystick]  // Specify which vJoy controller to send data to (1 is the first controller)
  index = 1

[[joystick.buttons]]  // Configure specific buttons, can invert button state
  index = 9
  inverted = true

[[joystick.axes]] // Configure specific axes, set min, max values, and whether to invert the axis
  index = 0
  inverted = true
  max = 3280
  min = 4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages