@neauoire

@neauoire may I propose: varvara touch input, as an extension of the mouse device

additions:

  • one byte for touch id (0 means no touch i.e. mouse input)
  • one byte for touch pressure (>0 is down, 0 is up) EDIT: upsize to short for better fidelity

xy coordinates will reuse that of mouse device

as for pointer emulation, the varvara impl can fill in state/scrollx/scrolly as appropriate (e.g. one finger means leftclick, two finger means rightclick)

so if I use noodle with a touchscreen, it'll treat my touch input as the mouse

but if I use a rom that supports touch, it can detect touchid>0 and handle my touch input accordingly!

wdyt ^^


#uxn #varvara

Finaly trying to do something with the #uxn #varvara audio device.

Thanks to @d6 for this awesome Tetris soundtrack example!

https://git.phial.org/d6/nxu/src/branch/main/type-abc.tal

@neauoire

heyo @neauoire, what's your opinion on stateful ports?

e.g. I want to connect to an address, I set the action port to connect mode by writing action/Connect, then I write in the address string until the null byte

I understand that this is opposed to the file device which does this by writing a pointer* to the filename in memory and then an operation on another port, is that the preferred way? (if so, why?)


#uxn #varvara

„Textvorschläge sind immer willkommen“

Ihre Leseleidenschaft hat Varvara schon viel beim Deutschlernen geholfen. Deshalb hat sie bei Little World den „Buchclub“ gegründet, wo sie sich mit anderen über Prosa und Poesie austauscht.

https://home.little-world.com/varvara-buchclub/

Finally testing my #uxntal gap buffer in kibi

https://asciinema.org/a/772196

#uxn #varvara

Kibi - Integrating gap buffer.

Finally testing out my gap buffer implementation :)

asciinema.org
uxn2 with drifblim.rom getting:

File invalid: noodle.tal

With a fresh grab from git. What am I doing wrong here?

#uxn #varvara

the wasm core also fails :(

#uxn #uxntal #varvara

This call never returns

#uxn #uxntal #varvara