From: George Spelvin Date: Sun, 11 May 2014 11:14:18 +0000 (-0300) Subject: [media] ati_remote: Generalize KIND_ACCEL to accept diagonals X-Git-Tag: cleanup-for-v3.18~114^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ecd5e32d8c8fc02d565aa0c1f3f997dea75f5de;p=pandora-kernel.git [media] ati_remote: Generalize KIND_ACCEL to accept diagonals Rather than having special code cases for diagonal mouse movements, extend the general purpose code used for the cardinal directions to handle arbitrary (x,y) deltas. The deltas themselves are stored in translation table's "code" field; this is also progress toward the goal of eliminating the "value" element entirely. Signed-off-by: George Spelvin Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed