/usr/share/idl/thunderbird/nsIGamepadServiceTest.idl is in thunderbird-dev 1:24.4.0+build1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsISupports.idl"
interface nsIVariant;
/*
* This interface is intended only for use in tests.
*/
[scriptable, uuid(b6ed093c-6ea0-4141-a8eb-f99645162651)]
interface nsIGamepadServiceTest : nsISupports
{
const unsigned long NO_MAPPING = 0;
const unsigned long STANDARD_MAPPING = 1;
unsigned long addGamepad(in string id, in unsigned long mapping,
in unsigned long numButtons,
in unsigned long numAxes);
void removeGamepad(in unsigned long index);
void newButtonEvent(in unsigned long index, in unsigned long button,
in boolean pressed);
void newAxisMoveEvent(in unsigned long index, in unsigned long axis,
in double value);
};
|