mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-28 16:01:22 +02:00
add hardware_caps header
First version of a "hardware capabilites information" struct. This is intended to help clean up the mess in the neutrino GUI. Surely needs some more work and ongoing changes
This commit is contained in:
30
libtriple/hardware_caps.c
Normal file
30
libtriple/hardware_caps.c
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* determine the capabilities of the hardware.
|
||||
* part of libstb-hal
|
||||
*
|
||||
* (C) 2010-2012 Stefan Seyfried
|
||||
*
|
||||
* License: GPL v2 or later
|
||||
*/
|
||||
|
||||
#include "hardware_caps.h"
|
||||
|
||||
static hw_caps_t caps = {
|
||||
.has_fan = 0,
|
||||
.has_SCART = 1,
|
||||
.has_SCART_input = 1,
|
||||
.has_HDMI = 0,
|
||||
.has_YUV_cinch = 0,
|
||||
.can_shutdown = 0,
|
||||
.can_cec = 0,
|
||||
.display_type = HW_DISPLAY_GFX,
|
||||
.display_xres = 128,
|
||||
.display_yres = 64,
|
||||
.boxvendor = "Armas",
|
||||
.boxname = "TripleDragon"
|
||||
};
|
||||
|
||||
hw_caps_t *get_hwcaps(void)
|
||||
{
|
||||
return ∩︀
|
||||
}
|
Reference in New Issue
Block a user