aboutsummaryrefslogtreecommitdiffstats
path: root/lib/lufa/Projects/TempDataLogger/TempLogHostApp/README.txt
blob: ab6b9a83a73e38c139a7a2ea696f72b09873c950 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
http://en.sourceforge.jp/projects/sfnet_libhidnet/

This library has been tested on Windows Vista 32bit, Windows Vista 64bit,
Windows XP 32bit and Debian (Lenny) AMD64 but should work on any version of
Windows that can run the .NET framework 2.0 and any other operating system
that has both hiddev and Mono.

Any additions must be tested and work on Windows and Linux, on both 32 and
64 bit. Windows 64 bit testing is particularly important as it is often
neglected.


Hid.Linux.dll was compiled under Linux with Mono (mcs) and uses no generics.

Hid.Win32.dll and Hid.Net.dll were compiled under Windows with the .NET
Framework v2.0.50727 but are also tested to compile with Mono (gmcs).


A good starting point when using this library is Hid.DeviceFactory's Enumerate
methods.

LogitechMX5000.cs is a simple example of how the library can be used. Other
examples on common devices are welcomed.
#22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/*
 * arch/ubicom32/include/asm/spinlock_types.h
 *   Spinlock related structure definitions for Ubicom32 architecture.
 *
 * (C) Copyright 2009, Ubicom, Inc.
 *
 * This file is part of the Ubicom32 Linux Kernel Port.
 *
 * The Ubicom32 Linux Kernel Port is free software: you can redistribute
 * it and/or modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation, either version 2 of the
 * License, or (at your option) any later version.
 *
 * The Ubicom32 Linux Kernel Port is distributed in the hope that it
 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
 * the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with the Ubicom32 Linux Kernel Port.  If not,
 * see <http://www.gnu.org/licenses/>.
 *
 * Ubicom32 implementation derived from (with many thanks):
 *   arch/m68knommu
 *   arch/blackfin
 *   arch/parisc
 */
#ifndef _ASM_UBICOM32_SPINLOCK_TYPES_H
#define _ASM_UBICOM32_SPINLOCK_TYPES_H

typedef struct {
	volatile unsigned int lock;
} raw_spinlock_t;

typedef struct {
	raw_spinlock_t lock;
	volatile int counter;
} raw_rwlock_t;

#define __RAW_SPIN_LOCK_UNLOCKED	{ 0 }
#define __RAW_RW_LOCK_UNLOCKED		{ __RAW_SPIN_LOCK_UNLOCKED, 0 }

#endif /* _ASM_UBICOM32_SPINLOCK_TYPES_H */