Read scancode
()
| 139 | |
| 140 | // Read scancode |
| 141 | fn read_scancode() -> u8 |
| 142 | { |
| 143 | // Create a port, at 0x60 |
| 144 | let mut port = Port::new(0x60); |
| 145 | |
| 146 | // Read from the aforementioned port |
| 147 | unsafe |
| 148 | { |
| 149 | port.read() |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | |
| 154 | // Send CSI |