Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

G923 Profil #13

Open
QuickoAbdul opened this issue Apr 15, 2024 · 6 comments
Open

G923 Profil #13

QuickoAbdul opened this issue Apr 15, 2024 · 6 comments

Comments

@QuickoAbdul
Copy link

Does anyone have the json file for a g923 profile?

@QuickoAbdul
Copy link
Author

QuickoAbdul commented Apr 15, 2024

I made a profile for the g923 with shifter using the photo of the g920, unfortunately the reverse gear does not work and for the d-pad the arrows are detected as axis which is why they are always activated. All that's missing is to replace the image of the g920 with that of the g923

{
  "btnWheel": 0,
  "btnGas": 2,
  "invert/btnGas": false,
  "btnBrake": 5,
  "btnClutch": 1,
  "btnGearReverse": 28,
  "invert/btnGearReverse": false,
  "btnGear1": 22,
  "invert/btnGear1": false,
  "btnGear2": 23,
  "btnGear3": 24,
  "btnGear4": 25,
  "btnGear5": 26,
  "btnGear6": 27,
  "btnGear7": 34,
  "btnWheel_DUp": 9,
  "btnWheel_DDown": 9,
  "btnWheel_DLeft": 9,
  "btnWheel_DRight": 9,
  "btnWheel_Back": 17,
  "btnWheel_Start": 16,
  "btnWheel_X": 11,
  "btnWheel_Y": 13,
  "btnWheel_A": 10,
  "btnWheel_B": 12,
  "btnWheel_RSB": 20,
  "btnWheel_LSB": 21,
  "btnWheel_LB": 15,
  "btnWheel_RB": 14,
  "btnWheel_L3": 29,
  "btnWheel_R3": 30,
  "btnWheel_L4": 31,
  "btnWheel_R4": 32,
  "imgWheel": "/stream-racing-wheel/g920/wheel.png",
  "imgWheel_DUp": "/stream-racing-wheel/g920/DUp.png",
  "imgWheel_DDown": "/stream-racing-wheel/g920/DDown.png",
  "imgWheel_DLeft": "/stream-racing-wheel/g920/DLeft.png",
  "imgWheel_DRight": "/stream-racing-wheel/g920/DRight.png",
  "imgWheel_Back": "/stream-racing-wheel/g920/Back.png",
  "imgWheel_Start": "/stream-racing-wheel/g920/Start.png",
  "imgWheel_X": "/stream-racing-wheel/g920/X.png",
  "imgWheel_Y": "/stream-racing-wheel/g920/Y.png",
  "imgWheel_A": "/stream-racing-wheel/g920/A.png",
  "imgWheel_B": "/stream-racing-wheel/g920/B.png",
  "imgWheel_RSB": "/stream-racing-wheel/g920/RSB.png",
  "imgWheel_LSB": "/stream-racing-wheel/g920/LSB.png",
  "imgWheel_LB": "/stream-racing-wheel/g920/LB.png",
  "imgWheel_RB": "/stream-racing-wheel/g920/RB.png",
  "imgWheel_L3": "/stream-racing-wheel/g920/LB.png",
  "imgWheel_R3": "/stream-racing-wheel/g920/RB.png",
  "imgWheel_L4": "/stream-racing-wheel/g920/LB.png",
  "imgWheel_R4": "/stream-racing-wheel/g920/RB.png",
  "imgPedalBase": "/stream-racing-wheel/g920/pedals.png",
  "imgGas": "/stream-racing-wheel/g920/gas.png",
  "imgBrake": "/stream-racing-wheel/g920/brake.png",
  "imgClutch": "/stream-racing-wheel/g920/clutch.png",
  "imgShifterBase": "/stream-racing-wheel/g920/shifter-base.png",
  "imgShifter": "/stream-racing-wheel/g920/shifter.png"
}

@joetex
Copy link
Owner

joetex commented Apr 15, 2024

I can add a deadzone setting for button masks that are axis type if that will help. Basically if the absolute axis value is less than X make it hidden. For instance axis values are usually from -1.0 to 1.0. If we make X=0.1, this would mean everything between -0.1 to 0.1 be considered hidden.

Also, can you describe what the "reverse" looks like on g923? On the g920, you have to push the shifter in and then move it to a specific gear, which was a bit obtuse. I always just bound reverse to a specific button on the wheel.

@QuickoAbdul
Copy link
Author

QuickoAbdul commented Apr 16, 2024

I am working on a demo with the g923 all that is missing is to have the mapping done for the new keys of the g923, I will show you a little demo of the reverse which does not work, there is no animation (I use the shifter of the g920 because they produced only one) and dpad which is recognized in Axis

2024-04-16.12-24-01.mp4

@joetex
Copy link
Owner

joetex commented Apr 16, 2024

2024-04-16.12-24-01.mp4

Looks like the dpads start at 1.0 value and go down to -1.0 when pressed, which is a bit wierd.

The reverse will need new shifter animation, maybe I can make it shrink the shifter or something.

@QuickoAbdul
Copy link
Author

Ok I've made quite a bit of progress on the project little by little I did the animation all I'm missing is the Dpad to do I tested it on Gamepad Tester and there it also detects it as axis so I I retained the data which gave me:
dup -1.000
dright -0.42857
ddown 0.14286
dleft 0.71429
I'll try to do a something to make it work.

Thank you very much for answering my questions

@joetex
Copy link
Owner

joetex commented Apr 16, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants