mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-09-02 18:30:57 +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
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
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