Discussion
Loading...

Discussion

  • Log in
  • Sign up
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
alcinnz
alcinnz
@alcinnz@floss.social  ·  activity timestamp 5 months ago

Once our dumbphone has inclusive text rendering, how'd we program it to inclusively facilitate text entry?

For input I'm primarily giving myself a joystick 4 input bits indicating which side its on (in, say, top-left-bottom-right order) & another for whether its pressed. From here I'd interpret looping gestures (whilst pressed) as keycodes.

The initial & final sides gives us 2bits each. The drection the bit shifts gives another, as does whether either action button's pressed.

1/4

  • Copy link
  • Flag this post
  • Block
Federation Bot
Federation Bot
@Federation_Bot  ·  activity timestamp 5 months ago

6bit keycodes, 64 keys... A decent start!
Or for larger alphabets (like emojis) we could interpret pairs of loops as keys, thus giving us 4,096 keys!

If the loop starts or ends on a corner I'd XOR it with the next/previous side to disambiguate.

Jabbing the joystick in a single direction could switch between keymappings, or enter a newline. For latinate alphabets this can give us letter, digit+symbols, & accents keymappings.

A "keyboard" would be a state machine of keymappings.

2/4

  • Copy link
  • Flag this comment
  • Block
Instance logo
bonfire.cafe
Log in Create account
Banner for bonfire.cafe

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire bovenjan · 1.0.3-alpha.10 no JS en
Federation disabled
Instance logo
  • Explore
  • About
  • Members
  • Code of Conduct

Install bonfire.cafe

Get the full app experience

1 Tap Share 2 Add to Home Screen