Comment

Comment by ryduh

The MagTek reader acts as a USB HID (aka a keyboard). When the cursor focus is put on a text field and you swipe a card, the MagTek device acts as if someone typed each character into the field. Then the javascript detects that and parses it out
parent ryduh 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton