| 1 | #![allow(non_snake_case)] |
| 2 | |
| 3 | use input_event_codesrust-analyzer cargo input-event-codes 6.2.0 crate/::{ |
| 4 | SW_CAMERA_LENS_COVERrust-analyzer cargo input-event-codes 6.2.0 sw/SW_CAMERA_LENS_COVER!, SW_CNTrust-analyzer cargo input-event-codes 6.2.0 sw/SW_CNT!, SW_DOCKrust-analyzer cargo input-event-codes 6.2.0 sw/SW_DOCK!, SW_FRONT_PROXIMITYrust-analyzer cargo input-event-codes 6.2.0 sw/SW_FRONT_PROXIMITY!, SW_HEADPHONE_INSERTrust-analyzer cargo input-event-codes 6.2.0 sw/SW_HEADPHONE_INSERT!, |
| 5 | SW_JACK_PHYSICAL_INSERTrust-analyzer cargo input-event-codes 6.2.0 sw/SW_JACK_PHYSICAL_INSERT!, SW_KEYPAD_SLIDErust-analyzer cargo input-event-codes 6.2.0 sw/SW_KEYPAD_SLIDE!, SW_LIDrust-analyzer cargo input-event-codes 6.2.0 sw/SW_LID!, SW_LINEIN_INSERTrust-analyzer cargo input-event-codes 6.2.0 sw/SW_LINEIN_INSERT!, SW_LINEOUT_INSERTrust-analyzer cargo input-event-codes 6.2.0 sw/SW_LINEOUT_INSERT!, |
| 6 | SW_MACHINE_COVERrust-analyzer cargo input-event-codes 6.2.0 sw/SW_MACHINE_COVER!, SW_MAXrust-analyzer cargo input-event-codes 6.2.0 sw/SW_MAX!, SW_MICROPHONE_INSERTrust-analyzer cargo input-event-codes 6.2.0 sw/SW_MICROPHONE_INSERT!, SW_MUTE_DEVICErust-analyzer cargo input-event-codes 6.2.0 sw/SW_MUTE_DEVICE!, SW_PEN_INSERTEDrust-analyzer cargo input-event-codes 6.2.0 sw/SW_PEN_INSERTED!, SW_RFKILL_ALLrust-analyzer cargo input-event-codes 6.2.0 sw/SW_RFKILL_ALL!, |
| 7 | SW_ROTATE_LOCKrust-analyzer cargo input-event-codes 6.2.0 sw/SW_ROTATE_LOCK!, SW_TABLET_MODErust-analyzer cargo input-event-codes 6.2.0 sw/SW_TABLET_MODE!, SW_VIDEOOUT_INSERTrust-analyzer cargo input-event-codes 6.2.0 sw/SW_VIDEOOUT_INSERT!, |
| 8 | }; |
| 9 | |
| 10 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 11 | fn test_SW_LIDrust-analyzer cargo input-event-codes 6.2.0 test_SW_LID().() { |
| 12 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_LIDrust-analyzer cargo input-event-codes 6.2.0 sw/SW_LID!!(), 0x00); |
| 13 | } |
| 14 | |
| 15 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 16 | fn test_SW_TABLET_MODErust-analyzer cargo input-event-codes 6.2.0 test_SW_TABLET_MODE().() { |
| 17 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_TABLET_MODErust-analyzer cargo input-event-codes 6.2.0 sw/SW_TABLET_MODE!!(), 0x01); |
| 18 | } |
| 19 | |
| 20 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 21 | fn test_SW_HEADPHONE_INSERTrust-analyzer cargo input-event-codes 6.2.0 test_SW_HEADPHONE_INSERT().() { |
| 22 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_HEADPHONE_INSERTrust-analyzer cargo input-event-codes 6.2.0 sw/SW_HEADPHONE_INSERT!!(), 0x02); |
| 23 | } |
| 24 | |
| 25 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 26 | fn test_SW_RFKILL_ALLrust-analyzer cargo input-event-codes 6.2.0 test_SW_RFKILL_ALL().() { |
| 27 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_RFKILL_ALLrust-analyzer cargo input-event-codes 6.2.0 sw/SW_RFKILL_ALL!!(), 0x03); |
| 28 | } |
| 29 | |
| 30 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 31 | fn test_SW_MICROPHONE_INSERTrust-analyzer cargo input-event-codes 6.2.0 test_SW_MICROPHONE_INSERT().() { |
| 32 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_MICROPHONE_INSERTrust-analyzer cargo input-event-codes 6.2.0 sw/SW_MICROPHONE_INSERT!!(), 0x04); |
| 33 | } |
| 34 | |
| 35 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 36 | fn test_SW_DOCKrust-analyzer cargo input-event-codes 6.2.0 test_SW_DOCK().() { |
| 37 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_DOCKrust-analyzer cargo input-event-codes 6.2.0 sw/SW_DOCK!!(), 0x05); |
| 38 | } |
| 39 | |
| 40 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 41 | fn test_SW_LINEOUT_INSERTrust-analyzer cargo input-event-codes 6.2.0 test_SW_LINEOUT_INSERT().() { |
| 42 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_LINEOUT_INSERTrust-analyzer cargo input-event-codes 6.2.0 sw/SW_LINEOUT_INSERT!!(), 0x06); |
| 43 | } |
| 44 | |
| 45 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 46 | fn test_SW_JACK_PHYSICAL_INSERTrust-analyzer cargo input-event-codes 6.2.0 test_SW_JACK_PHYSICAL_INSERT().() { |
| 47 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_JACK_PHYSICAL_INSERTrust-analyzer cargo input-event-codes 6.2.0 sw/SW_JACK_PHYSICAL_INSERT!!(), 0x07); |
| 48 | } |
| 49 | |
| 50 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 51 | fn test_SW_VIDEOOUT_INSERTrust-analyzer cargo input-event-codes 6.2.0 test_SW_VIDEOOUT_INSERT().() { |
| 52 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_VIDEOOUT_INSERTrust-analyzer cargo input-event-codes 6.2.0 sw/SW_VIDEOOUT_INSERT!!(), 0x08); |
| 53 | } |
| 54 | |
| 55 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 56 | fn test_SW_CAMERA_LENS_COVERrust-analyzer cargo input-event-codes 6.2.0 test_SW_CAMERA_LENS_COVER().() { |
| 57 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_CAMERA_LENS_COVERrust-analyzer cargo input-event-codes 6.2.0 sw/SW_CAMERA_LENS_COVER!!(), 0x09); |
| 58 | } |
| 59 | |
| 60 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 61 | fn test_SW_KEYPAD_SLIDErust-analyzer cargo input-event-codes 6.2.0 test_SW_KEYPAD_SLIDE().() { |
| 62 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_KEYPAD_SLIDErust-analyzer cargo input-event-codes 6.2.0 sw/SW_KEYPAD_SLIDE!!(), 0x0a); |
| 63 | } |
| 64 | |
| 65 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 66 | fn test_SW_FRONT_PROXIMITYrust-analyzer cargo input-event-codes 6.2.0 test_SW_FRONT_PROXIMITY().() { |
| 67 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_FRONT_PROXIMITYrust-analyzer cargo input-event-codes 6.2.0 sw/SW_FRONT_PROXIMITY!!(), 0x0b); |
| 68 | } |
| 69 | |
| 70 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 71 | fn test_SW_ROTATE_LOCKrust-analyzer cargo input-event-codes 6.2.0 test_SW_ROTATE_LOCK().() { |
| 72 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_ROTATE_LOCKrust-analyzer cargo input-event-codes 6.2.0 sw/SW_ROTATE_LOCK!!(), 0x0c); |
| 73 | } |
| 74 | |
| 75 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 76 | fn test_SW_LINEIN_INSERTrust-analyzer cargo input-event-codes 6.2.0 test_SW_LINEIN_INSERT().() { |
| 77 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_LINEIN_INSERTrust-analyzer cargo input-event-codes 6.2.0 sw/SW_LINEIN_INSERT!!(), 0x0d); |
| 78 | } |
| 79 | |
| 80 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 81 | fn test_SW_MUTE_DEVICErust-analyzer cargo input-event-codes 6.2.0 test_SW_MUTE_DEVICE().() { |
| 82 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_MUTE_DEVICErust-analyzer cargo input-event-codes 6.2.0 sw/SW_MUTE_DEVICE!!(), 0x0e); |
| 83 | } |
| 84 | |
| 85 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 86 | fn test_SW_PEN_INSERTEDrust-analyzer cargo input-event-codes 6.2.0 test_SW_PEN_INSERTED().() { |
| 87 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_PEN_INSERTEDrust-analyzer cargo input-event-codes 6.2.0 sw/SW_PEN_INSERTED!!(), 0x0f); |
| 88 | } |
| 89 | |
| 90 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 91 | fn test_SW_MACHINE_COVERrust-analyzer cargo input-event-codes 6.2.0 test_SW_MACHINE_COVER().() { |
| 92 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_MACHINE_COVERrust-analyzer cargo input-event-codes 6.2.0 sw/SW_MACHINE_COVER!!(), 0x10); |
| 93 | } |
| 94 | |
| 95 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 96 | fn test_SW_MAXrust-analyzer cargo input-event-codes 6.2.0 test_SW_MAX().() { |
| 97 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_MAXrust-analyzer cargo input-event-codes 6.2.0 sw/SW_MAX!!(), 0x10); |
| 98 | } |
| 99 | |
| 100 | #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:] |
| 101 | fn test_SW_CNTrust-analyzer cargo input-event-codes 6.2.0 test_SW_CNT().() { |
| 102 | assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(SW_CNTrust-analyzer cargo input-event-codes 6.2.0 sw/SW_CNT!!(), (SW_MAXrust-analyzer cargo input-event-codes 6.2.0 sw/SW_MAX!!() +rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Add<Self>`]add(). 1)); |
| 103 | } |