@la_ninpre Oh, yeah that's a SDL thing. The shavian onscreen keyboard I use sends multiple bytes to left https://git.sr.ht/~rabbits/uxn-utils/tree/main/item/gui/shaviankb/assets.tal#L71
Top-level
@la_ninpre Oh, yeah that's a SDL thing. The shavian onscreen keyboard I use sends multiple bytes to left https://git.sr.ht/~rabbits/uxn-utils/tree/main/item/gui/shaviankb/assets.tal#L71 11 comments
@neauoire i was trying to say that what if we just send all input from the keyboard to the console port instead of controller. i know that this it not how it is supposed to work, but that would make multibyte input possible without rewriting uxntal code that expects one value from the Controller/key... @la_ninpre Oh, haha. No that's not the way to do this, you want to run a controller vector evaluation for each byte. @la_ninpre It depends on the program, but in left for example, both vectors run the same <insert> subroutine. @neauoire can you review a patch for uxnemu then? sent to your email. @neauoire i am sorry, did you get it? i suspect i could've sent it to the wrong address. @la_ninpre I did! I merged it locally but I want to test it some more, can you gimme 3-4 hours? if I hit an issue I'll let you know, otherwise it'll be merged @neauoire of course, it's okay. i asked not because i wanted you to review it asap, haha. i was just unsure about email address, i remember you were on gmail in the past |
@neauoire wow, that's so cool. i'll go study the code then.
still i wonder if it will work with keyboard input in SDL...
one idea is to just send the text to the console port instead xD