Scriptel ScripTouch ProScript C Library This documentation contains information about the ScripTouch ProScript C Library.

Data Fields
scriptel_hid_input_card_swipe Struct Reference

This structure carries information regarding a magnetic card swipe. More...

`#include <scriptel-hid-reports.h>`

## Data Fields
unsigned char | report_id
| Report ID, should always be set to SCRIPTEL_INPUT_MAGCARDDATA.
scriptel_cardswipe_type | card_format
| The format of the card.
scriptel_cardswipe_track_status | track1_status
| The status of track one.
scriptel_cardswipe_track_status | track2_status
| The status of track two.
scriptel_cardswipe_track_status | track3_status
| The status of track three.
unsigned char | track1 [79]
| Track one data, valid only if track1_status indicates success.
unsigned char | track2 [40]
| Track two data, valid only if track2_status indicates success.
unsigned char | track3 [107]
| Track three data, valid only if track3_status indicates success.

## Detailed Description

This structure carries information regarding a magnetic card swipe.

The documentation for this struct was generated from the following file:

- src/scriptel-hid-reports.h