{"id":21844136,"url":"https://github.com/electronstudio/mechwarrior5absolutejoystick","last_synced_at":"2025-03-21T16:20:53.618Z","repository":{"id":214047857,"uuid":"735567336","full_name":"electronstudio/Mechwarrior5AbsoluteJoystick","owner":"electronstudio","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-25T11:44:20.000Z","size":6977,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T11:42:10.613Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/electronstudio.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-25T11:35:51.000Z","updated_at":"2024-07-15T22:19:49.000Z","dependencies_parsed_at":"2023-12-25T13:20:41.542Z","dependency_job_id":null,"html_url":"https://github.com/electronstudio/Mechwarrior5AbsoluteJoystick","commit_stats":null,"previous_names":["electronstudio/mechwarrior5absolutejoystick"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electronstudio%2FMechwarrior5AbsoluteJoystick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electronstudio%2FMechwarrior5AbsoluteJoystick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electronstudio%2FMechwarrior5AbsoluteJoystick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electronstudio%2FMechwarrior5AbsoluteJoystick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/electronstudio","download_url":"https://codeload.github.com/electronstudio/Mechwarrior5AbsoluteJoystick/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244825652,"owners_count":20516592,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-27T22:18:33.012Z","updated_at":"2025-03-21T16:20:53.588Z","avatar_url":"https://github.com/electronstudio.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Mechwarrior 5 only has relative position joystick input.  This program takes a joystick input\nand and translates it to mouse input to provide absolute position input.  It's not completely\naccurate, so it also presses the 'C' key to recentre when you centre the stick.\n\nYou will need to change your joystick config in the game to ensure that joystick is no longer\nused for turning. (e.g. set the axis to one that doesn't exist).\nYou only want mouse input to be used for turning.\n\nUsage: run the program to begin.  Close the window or hit ctrl-C to end.  It's a command line program\nso there's no user interface.\n\nTo change the settings, supply them on the command line, or create a shortcut and put them\nin the shortcut properties.\n\n    --frame_rate 60.000000 [number of events to send per second]\n    --scale_x 0.05500  [decrease if movement hits limits at left/right extremes]\n    --scale_y 0.01700   [decrease if movement hits limits at top/bottom extremes]\n    --disable_centre_key [whether to press key when joystick centred]\n    --enable_centre_key                                 (1)\n    --centre_key C       [key to press when joystick centred]\n    --speed_limit_x 30   [max pixels to turn per frame, dont exceed game's limit]\n    --speed_limit_y 10   [max pixels to turn per frame, dont exceed game's limit]\n    --joystick_number 0  [joystick to use, see list above]\n    --axis_number_x 0    [which axis is x]\n    --axis_number_y 1    [which axis is y]\n    --deadzone_x 2000    [joystick deadzone horizontal]\n    --deadzone_y 2000    [joystick deadzone vertical]\n\nDefault settings work for me, but you might need to change scale_x and scale_y for different\nmechs.  You want them high enough that you can twist all the way, but if they are any higher\nthen input will drift any time you hit the edges.\n\nThe game also has a maximum speed at which you can twist, if you increase the setting here\nthings will feel more responsive, but if you set it too high then inputs will be missed and\ninput will drift.\n\nCentering temporarily resets drift,\nso if you want to test just how bad drift is with current settings, then disable the centre key.\n\nYou shouldn't need to, but it may be necessary to run with administrator privileges.\n\nTODO:\n* different scales for left and right movement.\n* investigate zooming","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectronstudio%2Fmechwarrior5absolutejoystick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felectronstudio%2Fmechwarrior5absolutejoystick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectronstudio%2Fmechwarrior5absolutejoystick/lists"}