summaryrefslogtreecommitdiff
path: root/camlibs/smal/smal.h
blob: dc4715c7481bf1e256945a0c75db5efffff4045d (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* smal.h
 *
 * Copyright (C) 2003 Lee Benfield <lee@benf.org>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301  USA
 */

#ifndef CAMLIBS_SMAL_SMAL_H
#define CAMLIBS_SMAL_SMAL_H

#define USB_VENDOR_ID_SMAL        0x0dca
#define USB_DEVICE_ID_ULTRAPOCKET 0x0002
#define USB_DEVICE_ID_FLATFOTO    0x0004

#define USB_VENDOR_ID_LOGITECH    0x046d
#define USB_DEVICE_ID_POCKETDIGITAL 0x0950

#define USB_VENDOR_ID_CREATIVE    0x041e
#define USB_DEVICE_ID_CARDCAM 0x4016

typedef enum ultrapocket_BADGE_TYPE {
    BADGE_UNKNOWN = 0,
    BADGE_GENERIC,    /* could be axia/ultrapocket */
    BADGE_ULTRAPOCKET,
    BADGE_AXIA,
    BADGE_FLATFOTO,
    BADGE_LOGITECH_PD, /* pocket digital */
    BADGE_CARDCAM
} up_badge_type;

struct _CameraPrivateLibrary {
    up_badge_type up_type;
};

#endif /* !defined(CAMLIBS_SMAL_SMAL_H) */