Fix FreeBSD build.
[haiku.git] / headers / os / drivers / usb / USB_hid_page_magnetic_stripe_reader.h
blob34d4d0dd93b43387dfbf80cd5aa444b3ffc47f29
1 /*
2 * Copyright 2004-2010, Haiku Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _USB_HID_PAGE_MAGNETIC_STRIPE_READER_H
6 #define _USB_HID_PAGE_MAGNETIC_STRIPE_READER_H
9 /* Reference:
10 * HID Usage Page 0x8E: MAGENTIC STRIPE READER
11 * HID Point of Sale Usage Tables Ver. 1.0
12 * http://www.usb.org/developers/devclass_docs/pos1_02.pdf
15 // Usage IDs
16 enum {
17 B_HID_UID_MSR_DEVICE_READ_ONLY = 0x01,
19 B_HID_UID_MSR_TRACK_1_LENGTH = 0x11,
20 B_HID_UID_MSR_TRACK_2_LENGTH,
21 B_HID_UID_MSR_TRACK_3_LENGTH,
22 B_HID_UID_MSR_TRACK_JIS_LENGTH,
24 B_HID_UID_MSR_TRACK_DATA = 0x20,
25 B_HID_UID_MSR_TRACK_1_DATA,
26 B_HID_UID_MSR_TRACK_2_DATA,
27 B_HID_UID_MSR_TRACK_3_DATA,
28 B_HID_UID_MSR_TRACK_JIS_DATA
32 #endif // _USB_HID_PAGE_MAGNETIC_STRIPE_READER_H