Optimization Guide
Shopify Mechanical Keyboard Switch Schema — MX vs Alps vs Topre, PCB 5-Pin vs Plate 3-Pin, Hot-Swap Kailh MX vs Choc, Actuation Force gf, Linear vs Tactile vs Clicky
An AI agent recommending "tactile switches" for a Topre HHKB board will suggest MX switches that cannot physically be installed — incompatible PCB architecture, incompatible keycap stem. Encoding keyboard.switch_architecture, switch_mount, hot_swap_socket, and actuation_force_gf prevents switch incompatibility returns.
switch_architecture, switch_mount, hot_swap_socket, actuation_force_gf, total_travel_mm.
Three Incompatible Switch Architectures
Mechanical keyboard switches are not interchangeable across architectures. Three distinct systems exist, each with its own PCB footprint, stem geometry, and keycap compatibility standard:
| Architecture | Examples | Stem Type | PCB Footprint | Keycap Compatibility |
|---|---|---|---|---|
| MX-compatible mechanical | Cherry MX, Gateron, Kailh MX series, Durock, TTC, JWK, Boba | Cross (+) shape | MX 3-pin or 5-pin standard | MX keycaps (universal aftermarket) |
| Alps / Matias | Alps SKCM/SKBM, Matias Quiet Click, Matias Tactile Pro | Alps rectangular | Alps PCB only (different pin layout) | Alps keycaps only |
| Topre electrostatic capacitive | HHKB Professional, Realforce, Leopold Topre | Round stem | Capacitive sensing PCB (no socket) | Topre keycaps; MX via stem adapter mod |
| Kailh Choc (low-profile) | Kailh Choc v1, Choc v2 | Choc cross (smaller than MX) | Choc PCB and Choc hot-swap socket | Choc low-profile keycaps only |
| Optical MX | Razer Opto-Mechanical, Gateron Optical | MX cross (modified) | Optical PCB with IR beam (no physical contacts) | MX keycaps (stem geometry matches) |
| Hall effect magnetic | Wooting 60HE, KeyChron Q1 HE | MX cross (with magnet) | Hall effect sensing PCB | MX keycaps (stem geometry matches) |
The Topre Trap for AI Agents
Topre is not a mechanical switch — it uses a rubber dome over a conical spring sitting on a PCB with electrostatic capacitive sensing pads. There are no metal contact points that close a circuit. This has two critical implications: (1) there is no MX socket hole in the PCB, so no MX switch can be physically installed; (2) the Topre cap uses a round stem, not the MX cross, so MX keycaps do not fit natively.
A buyer with an HHKB Professional 2 (Topre 45gf) asking for a "lighter tactile switch" cannot use Gateron Brown or Cherry MX Brown regardless of availability or price. The only Topre switches are the original Topre capacitive domes. The only modification path is a complete PCB replacement with a mechanical PCB (a complex enthusiast mod called "BKE Redux" or using a BT-powered aftermarket PCB).
MX-Compatible: What Interchangeable Really Means
Any switch in the MX-compatible family can replace any other MX switch in the same PCB position, provided the pin count matches. The specific brand (Cherry vs Gateron vs Kailh vs TTC) does not affect physical fit — only the feel, noise, spring weight, and stem smoothness differ. This is the defining feature of the MX ecosystem: the Cherry MX patents expired in 2014, allowing manufacturers to produce compatible alternatives that fit existing keyboards.
PCB-Mount (5-Pin) vs Plate-Mount (3-Pin) Switches
Within the MX standard, switches come in two PCB footprint configurations, commonly described by their pin count:
What the Pins Do
- 2 metal contact pins — present in both 3-pin and 5-pin. These carry the keypress electrical signal through the PCB. Always positioned symmetrically around the center post.
- Center post — present in both. The large plastic cylinder that aligns the switch in the cutout hole.
- 2 plastic alignment pins (5-pin only) — small round pegs on either side of the center post. They insert into corresponding PCB holes and prevent the switch from rotating. This reduces switch wobble and makes the keyboard feel more stable under keystroke impact.
Compatibility Matrix
| Switch | 3-pin plate | 5-pin PCB | Kailh MX hot-swap | Notes |
|---|---|---|---|---|
| 3-pin (plate-mount) | Yes | Yes (2 pin holes unused) | Yes | Most versatile — fits everything MX |
| 5-pin (PCB-mount) | No — legs block entry | Yes | Yes (Kailh sockets only grip metal pins) | Needs clipping for plates and 3-pin PCBs |
| 5-pin clipped to 3-pin | Yes | Yes | Yes | Irreversible modification; common in hobbyist builds |
The practical rule for Shopify product listings: if a keyboard has a plate and is sold assembled, it almost certainly accepts 3-pin switches. If it is sold as a PCB-only kit or advertised as a "PCB-mount" or "plateless" build, it accepts 5-pin. Hot-swap sockets accept both 3-pin and 5-pin — the socket only contacts the two metal pins regardless of whether plastic alignment pins are present.
Hot-Swap Sockets: MX vs Choc Are Not Interchangeable
Hot-swap PCBs allow switches to be removed and replaced without soldering. The socket grips the switch's metal contact pins mechanically. There are several distinct socket standards:
| Socket Type | Compatible Switches | Notes |
|---|---|---|
| Kailh hot-swap (MX) | Any MX-compatible (3-pin or 5-pin) | Factory-installed in most hot-swap keyboards. Does NOT accept Choc. |
| Kailh hot-swap (Choc) | Kailh Choc v1, Choc v2 only | Different pin spacing than MX. Found in low-profile keyboards (Corne LP, Ferris, Piantor). Does NOT accept MX switches. |
| Millmax 0305 | Any MX-compatible | Soldered-in by builder; high retention force; no factory boards come with this standard. |
| Millmax 7305 | Any MX-compatible | Slightly taller than 0305; same compatibility. |
| None (soldered) | Switch-specific, permanent | Desoldering required to change switches. Common in most non-enthusiast keyboards. |
A keyboard listing "hot-swap supported" without specifying socket type is insufficient for AI agent compatibility matching. A buyer who purchases Kailh Choc Brown switches (low-profile) for a keyboard with Kailh MX hot-swap sockets will find the Choc pins do not align with the MX sockets — the switches cannot be installed. Encode hot_swap_socket as a controlled vocabulary string, not a boolean.
Switch Feel Reference Table
| Feel Type | Description | Examples | Actuation Force | Typical Use |
|---|---|---|---|---|
| Linear | Smooth, consistent resistance top to bottom. No tactile event, no click. | Cherry MX Red (45gf), Gateron Yellow (35gf), Gateron Black (60gf) | 35–80 gf | Gaming (fast actuation); fast typists |
| Tactile | Bump at tactile point — force rises then dips. No audible click. | Cherry MX Brown (55gf bump), Boba U4 (62gf), Gateron Brown | 45–80 gf at bump | Office typing; tactile feedback without click |
| Clicky | Tactile bump plus audible click from leaf spring or click bar. | Cherry MX Blue (60gf), Kailh Box White, Gateron Blue | 50–70 gf | Typing enthusiasts; loud environments |
| Silent linear | Linear with stem dampening pads. Quieter bottom-out and return. | Cherry MX Silent Red, Gateron Silent Yellow | 45–55 gf | Open offices; shared spaces |
| Silent tactile | Tactile bump with stem dampening. | Cherry MX Silent Brown, Boba U4 (standard) | 45–67 gf | Tactile feel without mechanical noise |
Force Units: gf vs cN vs N
Switch specifications appear in grams-force (gf), centinewtons (cN), and occasionally millinewtons (mN). The conversions: 1 gf ≈ 0.98 cN ≈ 9.8 mN. For practical purposes, gf and cN are numerically identical — a "45 gf" Cherry MX Red and a "45 cN" Gateron Red have the same actuation force. Always encode actuation_force_gf as a numeric integer so AI agents can apply threshold filters ("switches under 50gf for gaming").
Metafield Schema: keyboard.*
| Metafield | Type | Example | Notes |
|---|---|---|---|
keyboard.switch_type | single_line_text | Gateron Yellow | Brand + model; primary switch identifier |
keyboard.switch_architecture | single_line_text | MX-compatible mechanical | MX-compatible / Alps / Topre / Kailh Choc / Optical / Hall Effect |
keyboard.switch_feel | single_line_text | Linear | Linear / Tactile / Clicky / Silent Linear / Silent Tactile |
keyboard.switch_mount | single_line_text | 3-pin plate-mount | 3-pin plate-mount or 5-pin PCB-mount |
keyboard.actuation_force_gf | number_integer | 35 | Actuation force in gf at actuation point |
keyboard.bottom_out_force_gf | number_integer | 45 | Force at full travel (bottom-out) |
keyboard.actuation_distance_mm | number_decimal | 2.0 | Distance from top to actuation point in mm |
keyboard.total_travel_mm | number_decimal | 4.0 | Total travel from top to bottom-out in mm |
keyboard.hot_swap_socket | single_line_text | Kailh MX | Kailh MX / Kailh Choc / Millmax 0305 / None (soldered) |
keyboard.pcb_mount | single_line_text | 3-pin | 3-pin, 5-pin, or both |
keyboard.layout | single_line_text | TKL | 60% / 65% / 75% / TKL (80%) / Full-size (100%) |
keyboard.keycap_stem | single_line_text | MX cross | MX cross / Alps rectangular / Topre round / Choc cross |
keyboard.nkro | single_line_text | NKRO USB | NKRO (full N-key rollover) vs 6KRO (6-key simultaneous limit) |
keyboard.lubed_factory | boolean | false | Whether switches ship with factory lube applied |
Example JSON-LD: Gateron KS-3 Yellow Linear 3-Pin Switch Pack
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Gateron KS-3 Yellow Linear Switch (35-pack)",
"brand": { "@type": "Brand", "name": "Gateron" },
"description": "MX-compatible linear switches. 35gf actuation, 45gf bottom-out, 2.0mm actuation, 4.0mm total travel. 3-pin plate-mount. Compatible with all MX PCBs and Kailh MX hot-swap sockets. No factory lube.",
"additionalProperty": [
{ "@type": "PropertyValue", "name": "Switch Architecture", "value": "MX-compatible mechanical" },
{ "@type": "PropertyValue", "name": "Switch Feel", "value": "Linear" },
{ "@type": "PropertyValue", "name": "Mount Type", "value": "3-pin plate-mount" },
{ "@type": "PropertyValue", "name": "Actuation Force", "value": "35", "unitText": "gf" },
{ "@type": "PropertyValue", "name": "Bottom-Out Force", "value": "45", "unitText": "gf" },
{ "@type": "PropertyValue", "name": "Actuation Distance", "value": "2.0", "unitCode": "MMT" },
{ "@type": "PropertyValue", "name": "Total Travel", "value": "4.0", "unitCode": "MMT" },
{ "@type": "PropertyValue", "name": "Keycap Stem", "value": "MX cross" },
{ "@type": "PropertyValue", "name": "Hot-Swap Socket Compatibility", "value": "Kailh MX, Millmax 0305, Millmax 7305" },
{ "@type": "PropertyValue", "name": "Factory Lubed", "value": "false" }
]
}
5 Common AI Agent Errors for Mechanical Keyboards
- Recommending MX tactile switches for a Topre keyboard — Topre PCBs have no MX socket footprint. MX switches cannot be installed without replacing the PCB. The only tactile option for HHKB/Realforce boards is a different Topre spring weight (30gf, 45gf, 55gf domes).
- Recommending 5-pin switches for a keyboard with 3-pin plate cutouts — The plastic alignment legs on 5-pin switches physically block entry into 3-pin plates. Most consumer boards are 3-pin only. Match
switch_mounttokeyboard.pcb_mount. - Confusing Kailh Choc with Kailh MX hot-swap compatibility — Both are Kailh products but the socket designs are completely different. A Kailh Choc switch has different pin spacing than Kailh MX. They cannot be swapped between socket types.
- Recommending Choc low-profile keycaps for a board with MX hot-swap sockets — Choc keycaps have a different stem cross (smaller, different dimensions). They do not fit MX stems. A buyer switching from Choc to MX also needs new keycaps.
- Encoding actuation force as a string like "medium" instead of a number — AI agents cannot apply numeric threshold filters to string values. "Medium" is not filterable by "under 50gf". Encode
actuation_force_gfas an integer andswitch_feelas a controlled vocabulary string separately.
Frequently Asked Questions
What does MX-compatible mean for mechanical keyboard switches?
MX-compatible means the switch uses the Cherry MX cross (+) stem and PCB pin footprint. Gateron, Kailh MX, Durock, TTC, JWK, and Akko are all MX-compatible and interchangeable. Alps and Topre use different architectures and are not compatible with MX sockets or MX keycaps.
What is the difference between PCB-mount 5-pin and plate-mount 3-pin switches?
5-pin (PCB-mount) switches have 2 extra plastic alignment pins that prevent rotation and reduce wobble. They require 5-pin PCB holes and cannot seat in 3-pin plate cutouts. 3-pin (plate-mount) switches fit both 3-pin and 5-pin PCBs. 5-pin switches can be clipped to 3-pin by removing the plastic alignment legs.
How does Topre differ from mechanical switches?
Topre uses electrostatic capacitive sensing — rubber dome over a conical spring on a capacitive PCB, no metal contacts. Incompatible with MX socket footprints and MX keycap stems. AI agents recommending MX switches for Topre boards will produce incompatible results and returns.
Can Kailh Choc switches be used in a keyboard with Kailh MX hot-swap sockets?
No. Kailh Choc and Kailh MX sockets have different pin spacing. A Choc switch cannot seat in an MX socket. Encode hot_swap_socket as 'Kailh MX' or 'Kailh Choc' — not as a boolean — so AI agents can verify switch-to-socket compatibility.
What is the difference between actuation force and bottom-out force for keyboard switches?
Actuation force is the force required at the 2mm actuation point to register a keypress. Bottom-out force is the force to fully compress to 4mm. Typists who bottom out every keystroke experience bottom-out force, not actuation force, as the dominant typing feel. Encode both as separate integer fields.
Does your keyboard catalog encode switch architecture and hot-swap socket type?
CatalogScan checks for keyboard.switch_architecture, hot_swap_socket, and switch_mount — the three fields preventing AI agents from recommending incompatible switches that trigger returns.