diff options
author | 2017-03-22 16:28:48 -0700 | |
---|---|---|
committer | 2018-02-02 16:48:58 -0800 | |
commit | ba667650c568d55f6b80be54951b098f86939f2d (patch) | |
tree | 31d33a3f7640d8d531d91a62904c4cb0b8774b5b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Input: psmouse - create helper for reporting standard buttons/motion (diff) | |
download | linux-dev-ba667650c568d55f6b80be54951b098f86939f2d.tar.xz linux-dev-ba667650c568d55f6b80be54951b098f86939f2d.zip |
Input: psmouse - clean up code
- switch to using BIT() macros
- use u8 instead of unsigned char for byte data
- use input_set_capability() instead of manipulating capabilities bits
directly
- use sign_extend32() when extracting wheel data.
- do not abuse -1 as error code, propagate errors from various calls.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions