MOΞ pfp
MOΞ
@moe
i've been getting more into the new ms flight simulator 2024 career mode on xbox cloud, so i bought a logitech joystick for it. but it turned out that the joystick doesn't have drivers for macos and doesn't show up as a "standard" game controller, which is what's required for xbox cloud in the browser. tried many third party apps and extension but nothing worked. tried to write a macos driver for it but hit a wall with creating a virtual gamepad on the os level. after some digging, i noticed that chrome gets raw input from the joystick, so i wrote some js code in a bookmark that emulates a standard gamepad by overriding the browser getGamepads function and returning an emulated gamepad with remapped buttons and axes from the joystick. and now it works! the in-flight testing process to remap and tune the inputs was fun 🤓
7 replies
17 recasts
55 reactions

Jean Carlos Ayala (🟡,🟡) pfp
Jean Carlos Ayala (🟡,🟡)
@jeanayala
bro im in love with the cessna 172 skyhawk!!
1 reply
0 recast
1 reaction

MOΞ pfp
MOΞ
@moe
haha nice. do you play?
1 reply
0 recast
1 reaction

Jean Carlos Ayala (🟡,🟡) pfp
Jean Carlos Ayala (🟡,🟡)
@jeanayala
yup, tell me whats your next trip so i can simulate it ^^ im currently flying from LPA to TFN :)
0 reply
0 recast
1 reaction