+ + + + + +
+ + If you have Fluent Pet talking buttons, enable this option during the recording:
+ Fluent Pet + +
+ +
+ + + + +
+ +
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index b20b2e1..5cb7c09 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -83,6 +83,7 @@ endif() if (EMSCRIPTEN) add_subdirectory(ggwave-js) + add_subdirectory(buttons) else() add_subdirectory(ggwave-to-file) endif() diff --git a/examples/buttons/CMakeLists.txt b/examples/buttons/CMakeLists.txt new file mode 100644 index 0000000..64500c4 --- /dev/null +++ b/examples/buttons/CMakeLists.txt @@ -0,0 +1,4 @@ +set(TARGET buttons) + +configure_file(${CMAKE_CURRENT_SOURCE_DIR}/index-tmpl.html ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${TARGET}/index.html @ONLY) +configure_file(${CMAKE_SOURCE_DIR}/bindings/javascript/ggwave.js ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${TARGET}/ggwave.js COPYONLY) diff --git a/examples/buttons/README.md b/examples/buttons/README.md new file mode 100644 index 0000000..65d0e90 --- /dev/null +++ b/examples/buttons/README.md @@ -0,0 +1,3 @@ +# buttons + +Live demo: https://buttons.ggerganov.com diff --git a/examples/buttons/index-tmpl.html b/examples/buttons/index-tmpl.html new file mode 100644 index 0000000..99dc7f3 --- /dev/null +++ b/examples/buttons/index-tmpl.html @@ -0,0 +1,232 @@ + + +
+