code: @TargetApi(Build.VERSION_CODES.JELLY_BEAN)
      public static InputManager getInputManager(Context context) {
          return (InputManager) context.getSystemService(Context.INPUT_SERVICE);
      }
docs: Get the {@link android.hardware.input.InputManager} service for this context.
  @param context the context.
  @return the {@link android.hardware.input.InputManager}