Hey!
In the API-Ref for Lua playdate.keyboard.show()
method. But not for C.
I there any available way to show builtin keyboard from C without initialisation of Lua-engine?
Hey!
In the API-Ref for Lua playdate.keyboard.show()
method. But not for C.
I there any available way to show builtin keyboard from C without initialisation of Lua-engine?
The keyboard is not actually built-in, it's implemented in CoreLibs/keyboard.lua. So, nope. Lua is required for that. Sorry!
I’ll just ported lua version to c.
Any luck on that C port?
Yup. CrankedTicker with assets easily implemented in Rust. But without roll now. I just did what I need now. Later I’ll refactor animation system and probably impl full keyboard with rolls, then open it.
I just finished a working version in C of the Keyboard Api (thank you @dave for the acceleratedChange formula).
However I would like to know if it is OK to post the code here. The license explicitly forbid to create derivative work of the API without a written permission:
PLAYDATE SDK LICENSE 1.0
[...]
You will not:
- Modify, adapt, alter, translate, or incorporate into or with other software or create a derivative work of any part of the SDK, except as permitted herein, without express written permission from Panic;