summaryrefslogtreecommitdiff
path: root/keyboards/keyprez/rhino
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keyprez/rhino')
-rw-r--r--keyboards/keyprez/rhino/config.h4
-rw-r--r--keyboards/keyprez/rhino/info.json5
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/keyprez/rhino/config.h b/keyboards/keyprez/rhino/config.h
index 1b972e7b60..3ea5c1384d 100644
--- a/keyboards/keyprez/rhino/config.h
+++ b/keyboards/keyprez/rhino/config.h
@@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define ENCODERS_PAD_A { D1 }
-#define ENCODERS_PAD_B { D0 }
-#define ENCODER_RESOLUTION 4
-
#define AUDIO_PIN C6
#define MUSIC_MAP
diff --git a/keyboards/keyprez/rhino/info.json b/keyboards/keyprez/rhino/info.json
index b203dc23d7..f92ce7b0b2 100644
--- a/keyboards/keyprez/rhino/info.json
+++ b/keyboards/keyprez/rhino/info.json
@@ -8,6 +8,11 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "encoder": {
+ "rotary": [
+ {"pin_a": "D1", "pin_b": "D0"}
+ ]
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"debounce": 2,