Encoder stops working when enabling REPRAPWORLD_KEYPAD (Marlin 2.0.9.2) December 29, 2021 05:36AM |
Registered: 8 years ago Posts: 9 |
Re: Encoder stops working when enabling REPRAPWORLD_KEYPAD (Marlin 2.0.9.2) December 29, 2021 06:04AM |
Admin Registered: 13 years ago Posts: 7,123 |
Re: Encoder stops working when enabling REPRAPWORLD_KEYPAD (Marlin 2.0.9.2) December 29, 2021 10:15AM |
Registered: 8 years ago Posts: 9 |
Re: Encoder stops working when enabling REPRAPWORLD_KEYPAD (Marlin 2.0.9.2) December 29, 2021 04:10PM |
Registered: 8 years ago Posts: 9 |
#ifdef EN_C #define BUTTON_CLICK() ((buttons & EN_C) || RRK(EN_KEYPAD_MIDDLE)) #else #define BUTTON_CLICK() RRK(EN_KEYPAD_MIDDLE) #endifwhere EN_C is the bitmask associated with the encoder switch. I think the idea is that clicks can come from either the encoder switch (EN_C defined) as from the middle button of the keypad.
//bbg #if IS_RRW_KEYPAD #define BUTTON_CLICK() ((buttons & EN_C) || RRK(EN_KEYPAD_MIDDLE)) #endif
Re: Encoder stops working when enabling REPRAPWORLD_KEYPAD (Marlin 2.0.9.2) December 29, 2021 09:12PM |
Admin Registered: 13 years ago Posts: 7,123 |
Re: Encoder stops working when enabling REPRAPWORLD_KEYPAD (Marlin 2.0.9.2) December 30, 2021 02:44AM |
Admin Registered: 13 years ago Posts: 7,123 |
Re: Encoder stops working when enabling REPRAPWORLD_KEYPAD (Marlin 2.0.9.2) December 30, 2021 04:24AM |
Registered: 8 years ago Posts: 9 |