annotate src/main/macosx/Info.plist.in @ 937:1e6366bde299

Date: Tue, 27 Jul 2004 17:14:00 +0200 From: "Eckhard Stolberg" Subject: Controller names in SDL for Windows I'm working on an Atari 2600 emulator for different systems that uses the SDL. Some time ago someone created an adaptor that lets you use your old Atari controllers with your computer through the USB port. Some of the Atari controllers require special handling by the emulator, so it would be nice, if it would be possible to detect if any of the controllers connected to the computer is this adaptor. SDL would allow that with the SDL_JoystickName function, but unfortunately it doesn't work properly on Windows. On Linux and MacOSX this function returns the name of the controller, but on Windows you'll only get the name of the joystick driver. Most joysticks nowadays use the generic Microsoft driver, so they all return the same name. In an old MSDN article (http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarinput/html/msdn_extdirect.asp) Microsoft describes how to read out the OEM controller names from the registry. I have implemented this for the SDL controller handler on Windows, and now reading the joystick name works properly there too.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 21 Aug 2004 03:45:58 +0000
parents ba9e0fcc2ae2
children
rev   line source
176
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2 <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
3 <plist version="0.9">
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
4 <dict>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
5 <key>CFBundleDevelopmentRegion</key>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
6 <string>English</string>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
7 <key>CFBundleExecutable</key>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
8 <string>@EXECUTABLE_NAME@</string>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
9 <key>CFBundleInfoDictionaryVersion</key>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
10 <string>6.0</string>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
11 <key>CFBundleName</key>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
12 <string>@PACKAGE@</string>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
13 <key>CFBundlePackageType</key>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
14 <string>APPL</string>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
15 <key>CFBundleShortVersionString</key>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
16 <string>@VERSION@</string>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
17 <key>CFBundleSignature</key>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
18 <string>????</string>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
19 <key>NSMainNibFile</key>
194
ba9e0fcc2ae2 Oops, back out that SDL_main -> SDLMain conversion
Sam Lantinga <slouken@libsdl.org>
parents: 191
diff changeset
20 <string>SDLMain.nib</string>
176
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
21 <key>NSPrincipalClass</key>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
22 <string>NSApplication</string>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
23 </dict>
c9bc7f33d56f *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
24 </plist>