MouseInputMapper

Maps relative movements of a mouse or scroll wheel and mouse button
presses. All other logic from CursorInputMapper will be handled in the
host.

Change-Id: I00a966a6194d4810b7b6ac5cc815287ecf7dfb84
diff --git a/tests/input/evdev/SwitchInputMapper_test.cpp b/tests/input/evdev/SwitchInputMapper_test.cpp
index f93041b..ee90b2c 100644
--- a/tests/input/evdev/SwitchInputMapper_test.cpp
+++ b/tests/input/evdev/SwitchInputMapper_test.cpp
@@ -54,7 +54,7 @@
         .With(Args<1,2>(UnorderedElementsAre(INPUT_USAGE_SWITCH_LID,
                         INPUT_USAGE_SWITCH_CAMERA_LENS_COVER)));
 
-    mMapper->configureInputReport(&deviceNode, &reportDef);
+    EXPECT_TRUE(mMapper->configureInputReport(&deviceNode, &reportDef));
 }
 
 TEST_F(SwitchInputMapperTest, testConfigureDevice_noSwitches) {
@@ -64,7 +64,7 @@
     EXPECT_CALL(reportDef, addCollection(_, _)).Times(0);
     EXPECT_CALL(reportDef, declareUsages(_, _, _)).Times(0);
 
-    mMapper->configureInputReport(&deviceNode, &reportDef);
+    EXPECT_FALSE(mMapper->configureInputReport(&deviceNode, &reportDef));
 }
 
 TEST_F(SwitchInputMapperTest, testProcessInput) {