| 1 | #![allow(non_snake_case)] |
| 2 | |
| 3 | use input_event_codesrust-analyzer cargo input-event-codes 6.2.0 crate/::{ |
| 4 | EV_ABSrust-analyzer cargo input-event-codes 6.2.0 ev/EV_ABS!, EV_CNTrust-analyzer cargo input-event-codes 6.2.0 ev/EV_CNT!, EV_FFrust-analyzer cargo input-event-codes 6.2.0 ev/EV_FF!, EV_FF_STATUSrust-analyzer cargo input-event-codes 6.2.0 ev/EV_FF_STATUS!, EV_KEYrust-analyzer cargo input-event-codes 6.2.0 ev/EV_KEY!, EV_LEDrust-analyzer cargo input-event-codes 6.2.0 ev/EV_LED!, EV_MAXrust-analyzer cargo input-event-codes 6.2.0 ev/EV_MAX!, EV_MSCrust-analyzer cargo input-event-codes 6.2.0 ev/EV_MSC!, EV_PWRrust-analyzer cargo input-event-codes 6.2.0 ev/EV_PWR!, EV_RELrust-analyzer cargo input-event-codes 6.2.0 ev/EV_REL!, EV_REPrust-analyzer cargo input-event-codes 6.2.0 ev/EV_REP!, |
| 5 | EV_SNDrust-analyzer cargo input-event-codes 6.2.0 ev/EV_SND!, EV_SWrust-analyzer cargo input-event-codes 6.2.0 ev/EV_SW!, EV_SYNrust-analyzer cargo input-event-codes 6.2.0 ev/EV_SYN!, |
| 6 | }; |
| 7 | |
| 8 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 9 | fn test_EV_SYNrust-analyzer cargo input-event-codes 6.2.0 test_EV_SYN().() { |
| 10 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(EV_SYNrust-analyzer cargo input-event-codes 6.2.0 ev/EV_SYN!!(), 0x00); |
| 11 | } |
| 12 | |
| 13 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 14 | fn test_EV_KEYrust-analyzer cargo input-event-codes 6.2.0 test_EV_KEY().() { |
| 15 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(EV_KEYrust-analyzer cargo input-event-codes 6.2.0 ev/EV_KEY!!(), 0x01); |
| 16 | } |
| 17 | |
| 18 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 19 | fn test_EV_RELrust-analyzer cargo input-event-codes 6.2.0 test_EV_REL().() { |
| 20 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(EV_RELrust-analyzer cargo input-event-codes 6.2.0 ev/EV_REL!!(), 0x02); |
| 21 | } |
| 22 | |
| 23 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 24 | fn test_EV_ABSrust-analyzer cargo input-event-codes 6.2.0 test_EV_ABS().() { |
| 25 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(EV_ABSrust-analyzer cargo input-event-codes 6.2.0 ev/EV_ABS!!(), 0x03); |
| 26 | } |
| 27 | |
| 28 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 29 | fn test_EV_MSCrust-analyzer cargo input-event-codes 6.2.0 test_EV_MSC().() { |
| 30 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(EV_MSCrust-analyzer cargo input-event-codes 6.2.0 ev/EV_MSC!!(), 0x04); |
| 31 | } |
| 32 | |
| 33 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 34 | fn test_EV_SWrust-analyzer cargo input-event-codes 6.2.0 test_EV_SW().() { |
| 35 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(EV_SWrust-analyzer cargo input-event-codes 6.2.0 ev/EV_SW!!(), 0x05); |
| 36 | } |
| 37 | |
| 38 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 39 | fn test_EV_LEDrust-analyzer cargo input-event-codes 6.2.0 test_EV_LED().() { |
| 40 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(EV_LEDrust-analyzer cargo input-event-codes 6.2.0 ev/EV_LED!!(), 0x11); |
| 41 | } |
| 42 | |
| 43 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 44 | fn test_EV_SNDrust-analyzer cargo input-event-codes 6.2.0 test_EV_SND().() { |
| 45 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(EV_SNDrust-analyzer cargo input-event-codes 6.2.0 ev/EV_SND!!(), 0x12); |
| 46 | } |
| 47 | |
| 48 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 49 | fn test_EV_REPrust-analyzer cargo input-event-codes 6.2.0 test_EV_REP().() { |
| 50 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(EV_REPrust-analyzer cargo input-event-codes 6.2.0 ev/EV_REP!!(), 0x14); |
| 51 | } |
| 52 | |
| 53 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 54 | fn test_EV_FFrust-analyzer cargo input-event-codes 6.2.0 test_EV_FF().() { |
| 55 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(EV_FFrust-analyzer cargo input-event-codes 6.2.0 ev/EV_FF!!(), 0x15); |
| 56 | } |
| 57 | |
| 58 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 59 | fn test_EV_PWRrust-analyzer cargo input-event-codes 6.2.0 test_EV_PWR().() { |
| 60 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(EV_PWRrust-analyzer cargo input-event-codes 6.2.0 ev/EV_PWR!!(), 0x16); |
| 61 | } |
| 62 | |
| 63 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 64 | fn test_EV_FF_STATUSrust-analyzer cargo input-event-codes 6.2.0 test_EV_FF_STATUS().() { |
| 65 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(EV_FF_STATUSrust-analyzer cargo input-event-codes 6.2.0 ev/EV_FF_STATUS!!(), 0x17); |
| 66 | } |
| 67 | |
| 68 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 69 | fn test_EV_MAXrust-analyzer cargo input-event-codes 6.2.0 test_EV_MAX().() { |
| 70 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(EV_MAXrust-analyzer cargo input-event-codes 6.2.0 ev/EV_MAX!!(), 0x1f); |
| 71 | } |
| 72 | |
| 73 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 74 | fn test_EV_CNTrust-analyzer cargo input-event-codes 6.2.0 test_EV_CNT().() { |
| 75 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(EV_CNTrust-analyzer cargo input-event-codes 6.2.0 ev/EV_CNT!!(), (EV_MAXrust-analyzer cargo input-event-codes 6.2.0 ev/EV_MAX!!() +rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Add<Self>`]add(). 1)); |
| 76 | } |