jacqueline, 29 days ago im cooking
im cooking
badrihippo, 29 days ago @jacqueline btw why's the ["Long press"] in brackets like that when the others aren't? (I don't know Lua but my Python interpreter makes me think it's a list of one) 👀
@jacqueline btw why's the ["Long press"] in brackets like that when the others aren't? (I don't know Lua but my Python interpreter makes me think it's a list of one) 👀
jacqueline, 29 days ago @badrihippo it's showing them like that because it's trying it pretty-print as valid lua, and that's how you'd write a table key with a space in it. tho i reckon i'll make the names things more like "long_press", and handle pretty display names at another layer
@badrihippo it's showing them like that because it's trying it pretty-print as valid lua, and that's how you'd write a table key with a space in it.
tho i reckon i'll make the names things more like "long_press", and handle pretty display names at another layer
badrihippo, 29 days ago @jacqueline ohh makes sense! Because control.hooks.Touchwheel.Down.Repeat, but control.hooks.Touchwheel.Down["Long press"]
@jacqueline ohh makes sense! Because control.hooks.Touchwheel.Down.Repeat, but control.hooks.Touchwheel.Down["Long press"]
badrihippo, 29 days ago Also @fosstodon we need a lua emoji! @jacqueline
Also @fosstodon we need a lua emoji!
@jacqueline
mike, 29 days ago @badrihippo Honestly, I'm pretty surprised we don't already have one. Added :lua:. That work? @fosstodon @jacqueline
@badrihippo Honestly, I'm pretty surprised we don't already have one.
Added :lua:.
That work?
@fosstodon @jacqueline
badrihippo, 27 days ago @mike @fosstodon @jacqueline looks good, thanks! Yeah I expected it to be there too, but anyway better late than never :lua:
@mike @fosstodon @jacqueline looks good, thanks! Yeah I expected it to be there too, but anyway better late than never :lua:
jacqueline, 29 days ago @badrihippo oh i hadn't realised that would be the reason. it makes sense. pretty neat!
@badrihippo oh i hadn't realised that would be the reason. it makes sense. pretty neat!
badrihippo, 29 days ago @jacqueline well I guess I learnt some Lua today 😇
@jacqueline well I guess I learnt some Lua today 😇
jacqueline, 29 days ago @badrihippo i hope it hooks you!! i love it very much, it's a terrific little language
@badrihippo i hope it hooks you!! i love it very much, it's a terrific little language
badrihippo, 29 days ago @jacqueline I'm on a Lisp roll now, but I will get to Lua someday 😅 (Actually, I've played with Fennel a bit and it's very cool, so another reason to learn Lua)
@jacqueline I'm on a Lisp roll now, but I will get to Lua someday 😅
(Actually, I've played with Fennel a bit and it's very cool, so another reason to learn Lua)
jacqueline, 29 days ago what if controls.hooks().TouchWheel.Centre = function() ... end
what if
controls.hooks().TouchWheel.Centre = function() ... end
jacqueline, 29 days ago or i guess like... Centre["Long Press"]
or i guess like... Centre["Long Press"]
aphistic, 29 days ago @jacqueline WTF is a centre?!
@jacqueline WTF is a centre?!
buzzyrobin, 29 days ago @jacqueline configurable haptic response per control when
@jacqueline configurable haptic response per control when
Add comment