Module device.generic.device

Generic device abstraction.

This module defines stubs for common methods.

Functions

Device:performHapticFeedback (type) Device specific method for performing haptic feedback.
Device:canExecuteScript (filename) Returns true if the file is a script we allow running Basically a helper method to check a specific list of file extensions for executable scripts

Issues

Device:performHapticFeedback-todo2 : Build an IPv6 variant of getDefaultRoute that parses /proc/net/ipv6_route


Functions

Device:performHapticFeedback (type)
Device specific method for performing haptic feedback.

Parameters:

Device:canExecuteScript (filename)
Returns true if the file is a script we allow running Basically a helper method to check a specific list of file extensions for executable scripts

Parameters:

Returns:

    boolean

Issues

Device:performHapticFeedback-todo2
: Build an IPv6 variant of getDefaultRoute that parses /proc/net/ipv6_route
generated by LDoc 1.5.0 Last updated 2026-09-28 21:14:57