Skip to content

NexTre-dev/retro-gadgets-typedefs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typescript To Lua type definitions and helpers

These are type definitions for the game Retro Gadgets, found on Steam here: https://store.steampowered.com/app/1730260/Retro_Gadgets/

Defines the API found at https://docs.retrogadgets.game/api/index.html

Todo:

  • Add docstrings
  • scrape doc pages for typedef generation
  • adding typedefs for missing APIs (for example gdt: Gadget)
  • generator/descriptor for gadgets (CPU0, CPU1, CPU2 ...)
  • generators for keypad and similar m*n constructs

Examples


examples/lamp-flipper.ts switches the lamp every 5 seconds on/off and an LED every 2 seconds

About

Typescript definitions for Retro Gadgets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%