From a1bd4ee3c2585da0370d6db2a0e9ca328d262b9c Mon Sep 17 00:00:00 2001 From: samluethy Date: Wed, 29 Mar 2023 16:03:11 -0400 Subject: [PATCH] Philly joystick #3 --- Marlin/Configuration_adv.h | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index 0bcda93e6cb4..a17dd8027ef9 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -3765,11 +3765,11 @@ //#define INVERT_JOY_Z // Enable if Z direction is reversed // Use M119 with JOYSTICK_DEBUG to find reasonable values after connecting: - //joy stick 1 (Philly 10k) - #define JOY_X_LIMITS { 0, 8645-1000, 8645+1000, 16368 } // min, deadzone start, deadzone end, max - #define JOY_Y_LIMITS { 0, 8066-1000, 8066+1000, 16368 } - #define JOY_Z_LIMITS { 0, 8081-500, 8081+500, 16368 } - #define JOYSTICK_DEBUG + //joy stick 1 (Philly 10k #1) + //#define JOY_X_LIMITS { 0, 8645-1000, 8645+1000, 16368 } // min, deadzone start, deadzone end, max + //#define JOY_Y_LIMITS { 0, 8066-1000, 8066+1000, 16368 } + //#define JOY_Z_LIMITS { 0, 8081-500, 8081+500, 16368 } + //#define JOYSTICK_DEBUG //joy stick 2 (Houston 10k) // #define JOY_X_LIMITS { 0, 8233-1000, 8233+1000, 16368 } // min, deadzone start, deadzone end, max @@ -3777,6 +3777,14 @@ // #define JOY_Z_LIMITS { 0, 8262-500, 8262+500, 16368 } // #define JOYSTICK_DEBUG + //joy stick 2 (Philly 10k#2) + #define JOY_X_LIMITS { 0, 8935-1000, 8935+1000, 16368 } // min, deadzone start, deadzone end, max + #define JOY_Y_LIMITS { 0, 8018-1000, 8018+1000, 16368 } + #define JOY_Z_LIMITS { 0, 7956-500, 7956+500, 16368 } + #define JOYSTICK_DEBUG + + + #endif /**