Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.

Conversation

@Aurumaker72
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings November 20, 2025 07:54
@Aurumaker72 Aurumaker72 merged commit 125bfdd into sdl_input Nov 20, 2025
5 of 6 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR merges main branch changes into the sdl_input branch, which includes bug fixes to correct joystick Y-axis range handling and cleanup of plugin name macros.

  • Fixed incorrect Y-axis range from [-127, 128] to correct [-128, 127] to match signed 8-bit integer constraints
  • Added explicit int8_t casts when assigning joystick positions to ensure proper type conversion
  • Simplified plugin name macros by removing architecture and target strings in non-x64/non-debug builds

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/TASInput.cpp Adds int8_t casts for joystick position assignment and corrects Y-axis wrapping_clamp range
src/Main.h Simplifies PLUGIN_ARCH and PLUGIN_TARGET macros to empty strings for non-x64/release builds
src/JoystickControl.cpp Corrects Y-axis range in remap functions to match [-128, 127] constraint

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


ctx->current_input.x = (int8_t)x;
ctx->current_input.y = (int8_t)y;
Copy link

Copilot AI Nov 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 591 contains trailing whitespace. Remove the trailing whitespace to maintain code cleanliness.

Suggested change

Copilot uses AI. Check for mistakes.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants