Index: content/browser/gamepad/gamepad_standard_mappings_linux.cc |
diff --git a/content/browser/gamepad/gamepad_standard_mappings_linux.cc b/content/browser/gamepad/gamepad_standard_mappings_linux.cc |
index 08104dcd094fc61de61118fe83ec72a78938b405..86c3afde8a15399e136b0f8c5f8ea1a59d8ec515 100644 |
--- a/content/browser/gamepad/gamepad_standard_mappings_linux.cc |
+++ b/content/browser/gamepad/gamepad_standard_mappings_linux.cc |
@@ -4,24 +4,10 @@ |
#include "content/browser/gamepad/gamepad_standard_mappings.h" |
-#include "content/common/gamepad_hardware_buffer.h" |
- |
namespace content { |
namespace { |
-float AxisToButton(float input) { |
- return (input + 1.f) / 2.f; |
-} |
- |
-float AxisNegativeAsButton(float input) { |
- return (input < -0.5f) ? 1.f : 0.f; |
-} |
- |
-float AxisPositiveAsButton(float input) { |
- return (input > 0.5f) ? 1.f : 0.f; |
-} |
- |
void MapperXInputStyleGamepad( |
const blink::WebGamepad& input, |
blink::WebGamepad* mapped) { |