Request: Keyboard Layout File

#2
by proshian - opened

Hi Futo team!

Thank you for releasing this dataset it is an extremely valuable contribution for researches on swipe typing decoding.

One critical piece that seems to be missing is the keyboard layout specification: a list of key labels with their boundaries.

A simple solution would be to include a json file defining the keyboard keys positions for a reference canvas size, like this:

{
  "width": 420,
  "height": 120,
  "keys": [
    {"label": "a", "boundaries": {"x": 0, "y": 0, "w": 40, "h": 40}},
    {"label": "b", "boundaries": {"x": 40, "y": 0, "w": 40, "h": 40}},
    ...
  ]
}

Could you share a layout that would define key positions? It’d make the dataset even more impactful.

Thanks again for your work!

Coordinates are normalized to keyboard size, 0.0 to 1.0. It can go out of bounds if the finger went above or below the keyboard.
+X is right, +Y is down.
Key widths are 1/10, key heights are 1/3

Top left corner of Q is (0.0, 0.0)
Top right corner of P is (1.0, 0.0)

Bottom left corner of Z is (0.15, 1.0)
Bottom right corner of M is (0.85, 1.0)

Screenshot for reference
image.png

I can share a Python library that preprocesses data, resamples it to uniform samplerate, converts it to a tensor with useful features

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment