mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
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
Origin commit data
------------------
Branch: master
Commit: 8a6f1dea9d
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-09-15 (Sat, 15 Sep 2012)
------------------
This commit was generated by Migit
31 lines
502 B
C
31 lines
502 B
C
/*
|
|
* 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 ∩︀
|
|
}
|