| 1 | #[macro_export] |
| 2 | macro_rules! MSC_SERIALrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_SERIAL! { |
| 3 | () => { |
| 4 | 0x00 |
| 5 | }; |
| 6 | } |
| 7 | #[macro_export] |
| 8 | macro_rules! MSC_PULSELEDrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_PULSELED! { |
| 9 | () => { |
| 10 | 0x01 |
| 11 | }; |
| 12 | } |
| 13 | #[macro_export] |
| 14 | macro_rules! MSC_GESTURErust-analyzer cargo input-event-codes 6.2.0 msc/MSC_GESTURE! { |
| 15 | () => { |
| 16 | 0x02 |
| 17 | }; |
| 18 | } |
| 19 | #[macro_export] |
| 20 | macro_rules! MSC_RAWrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_RAW! { |
| 21 | () => { |
| 22 | 0x03 |
| 23 | }; |
| 24 | } |
| 25 | #[macro_export] |
| 26 | macro_rules! MSC_SCANrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_SCAN! { |
| 27 | () => { |
| 28 | 0x04 |
| 29 | }; |
| 30 | } |
| 31 | #[macro_export] |
| 32 | macro_rules! MSC_TIMESTAMPrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_TIMESTAMP! { |
| 33 | () => { |
| 34 | 0x05 |
| 35 | }; |
| 36 | } |
| 37 | #[macro_export] |
| 38 | macro_rules! MSC_MAXrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_MAX! { |
| 39 | () => { |
| 40 | 0x07 |
| 41 | }; |
| 42 | } |
| 43 | #[macro_export] |
| 44 | macro_rules! MSC_CNTrust-analyzer cargo input-event-codes 6.2.0 msc/MSC_CNT! { |
| 45 | () => { |
| 46 | ($crate::MSC_MAX!() + 1) |
| 47 | }; |
| 48 | } |