2018-06-01 | Paul Boddie | file changeset files shortlog | Introduced keypad libraries that are loaded in a similar way to the panel libraries, permitting the input keypad server to be generic instead of having to exist in specific forms for different devices. Introduced a convenience "loader" library to obtain keypad object references from loaded libraries. |
paul@0 | 1 | -- vi:ft=lua |
paul@0 | 2 | -- configuration file for io |
paul@0 | 3 | |
paul@0 | 4 | local hw = Io.system_bus() |
paul@0 | 5 | |
paul@0 | 6 | local bus = Io.Vi.System_bus |
paul@0 | 7 | { |
paul@0 | 8 | GPIO = wrap(hw:match("jz4780-gpio")); |
paul@0 | 9 | } |
paul@0 | 10 | |
paul@0 | 11 | Io.add_vbus("gpio", bus) |