commit | b28bad65c1fec47076ebee88b51b0dafa31f5065 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Thu Jan 04 10:58:48 2018 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Fri Feb 02 16:50:21 2018 -0800 |
tree | ac386beb534ad96de356ad25c16a0c201d67e977 | |
parent | d5e0d9187abd5e3ce23884c375c4b36f403e42be [diff] |
Input: libps2 - use u8 for byte data Instead of using unsigned char for the byte data switch to using u8. Also use unsigned int for the command codes and timeouts, and have ps2_handle_ack() and ps2_handle_response() return bool instead of int, as they do not return error codes but rather signal whether a byte was handled or not handled. ps2_is_keyboard_id() now returns bool as well. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>