Hokusai Native & Mobile Support
There is rudimentary support for native builds using TruffleRuby and GraalVM native image.
There is also basic support for touch enabled devices for the Raylib Backend.
# provides swipe and taphold events
class App < Hokusai::Block
template <<~EOF
[template]
empty {
@swipe="handle_swipe"
@taphold="handle_taphold"
@click="handle_tap"
}
EOF
#....
end
# set touch = true the backend config
Hokusai::Backends::RaylibBackend.run(App) do |config|
config.touch = true
#....
end