code: int getValue(LinuxEventBuffer buffer) {
          int axis = buffer.getEventCode();
          int value = buffer.getEventValue();
          int i;
          for (i = 0; i < axes.length && axes[i] != -1; i++) {
              if (axes[i] == axis) {
                  return transform(i, value);
              }
          }
          if (i == axes.length) {
              axes = Arrays.copyOf(axes, axes.length * 2);
              Arrays.fill(axes, i + 1, axes.length - 1, -1);
              translates = Arrays.copyOf(translates, translates.length * 2);
              scalars = Arrays.copyOf(scalars, scalars.length * 2);
              mins = Arrays.copyOf(mins, mins.length * 2);
              maxs = Arrays.copyOf(maxs, maxs.length * 2);
          }
          initTransform(axis, i);
          return transform(i, value);
      }
docs: Gets the transformed pixel coordinate of the current event in the buffer
  provided.
  
  @param buffer A LinuxEventBuffer containing a raw event line
  @return a transformed value in screen space