/trackpoint-iris

How to implement a trackpoint to Iris mechanical keyboard

How to implement a trackpoint to Iris keyboard

Overview

overview

This is a brief guide to implement a trackpoin to Iris keyboard.

trackpoint

Assembling

I implement a trackpoint following alonswartz/trackpoint. However, in alonswartz's guide, it uses USART version of QMK's PS/2 mouse support.
USART version cannot be used for Iris keyboard because D5 pin on pro micro cannot be used. In this guide, interrupt version that requires INT or PCINT pin for clock and any pin for data is used.

Fortunately, Iris has breakout pins (RGB1, C6, VCC, GND, F4, F5, and ICSP pins) on its PCB. Here, I use RGB1 (D3) pin for clock and C6 pin for data.

pcb

You can identify your trackpoint pinouts from the list on https://geekhack.org/index.php?topic=55960.msg1291412#msg1291412. I extracted a trackpoint module from X61 keyboard. It is same with R61's.

It is useful to use PCB hole (maybe it is a hole for spacers) for trackpoint stem. On the other hand, you have to make a stem hole in case. I cut acrylic plates like following.

case

It has two holes on the bottom plate to fix the trackpoint module.

Code

Here's my codes for Trackpoint Iris.

In the rules.mk, you have to disable RGBLIGHT_ENABLE because we use RGB1 (D3) pin for PS/2 clock. And you have to enable PS2 Mouse support like this.

In config.h, you have to set which pins are used for PS/2 mouse support.

References