From b6637c6c73f8b5c30166f9fc6d5b41230af7301b Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 19 Apr 2019 10:42:22 -0400 Subject: [PATCH] config: Add button support for anet a8 Reported by @noud-github. Signed-off-by: Kevin O'Connor --- config/printer-anet-a8-2017.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/printer-anet-a8-2017.cfg b/config/printer-anet-a8-2017.cfg index fd27de54..7d53c4d9 100644 --- a/config/printer-anet-a8-2017.cfg +++ b/config/printer-anet-a8-2017.cfg @@ -86,3 +86,13 @@ d4_pin: PD2 d5_pin: PD3 d6_pin: PC0 d7_pin: PC1 +up_pin: PA1 +analog_range_up_pin: 9000, 13000 +down_pin: PA1 +analog_range_down_pin: 800, 1300 +click_pin: PA1 +analog_range_click_pin: 2000, 2500 +back_pin: PA1 +analog_range_back_pin: 4500, 5000 +#kill_pin: PA1 +#analog_range_kill_pin: 400, 600