• Just as a reference, things I think we could add to a global Device (or maybe just HW for hardware?):

    • getFeatures() - return a list of features the device has
    • accelerometer
    • gyro
    • compass
    • GPS
    • LCD/TFT (just a link to Graphics?)
    • LCD backlight
    • touchscreen
    • vibration
    • speaker
    • microphone?
    • turn off
    • ...?

    And make it so you could extend it with JS - for instance to add a speaker to a Pixl or something like that.

About

Avatar for Gordon @Gordon started