Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 30 Aug 2004
Offline Last Active May 11 2015 07:07 PM

Topics I've Started

Handling input in Linux

12 June 2012 - 11:52 AM

I'm about to begin work on the Linux portion of my input system. For keyboard/mouse input, I'm undecided if I should use XCB/Xlib or if I should use the kernel input directly (/dev/input/...). Does anyone have any experience as to which method is preferred? I would like to support joysticks and gamepads in the future as well. From what I've been reading, it seems I'll need to use the kernel input directly for those, so would it make sense to just use it for everything? The only thing I don't really like is the lack of permissions by default to open files in /dev/input, but that's easily solvable using groups.


Visual Studio problem

31 May 2006 - 09:52 AM

I have Visual Studio 2005 Professional Edition and for some reason the editor won't accept certain keys like Enter, backspace, delete, any of the arrow keys and several other non-character keys. This just started up today and I can't figure out what the problem is. Yesterday I downloaded and installed the new DirectX SDK so I tried uninstalling it to see if that fixed the problem. It didn't. I'd really like to find a way to fix this instead of having to reinstall the software. Does anybody know a fix to this?

Check out my band's new song

29 May 2006 - 05:05 PM

My friend and I started a new electronica/rock band recently. We have a couple of songs recorded so far and you can listen to them on http://www.purevolume.com/alifeelided. Just finished recording "To the End" today. I'd apprieciate any feedback on it. Thanks.

OpenAL not recognizing my device

04 May 2006 - 05:32 AM

I'm using the OpenAL 1.1 with EFX SDK. I'm trying to use it in a managed C++/CLI dll. When I compile, I get
warning LNK4248: unresolved typeref token (0100001E) for 'ALCdevice_struct'; image may not run
I run the following code and it misses my audio device and says I only have 'Generic Hardware' or 'Generic Software'.
ALCchar const * devices = alcGetString(0,ALC_DEVICE_SPECIFIER);
ALCchar const * actualDeviceName = 0;
while (*devices != 0)
	ALCdevice *device = alcOpenDevice(devices);
		actualDeviceName = alcGetString(device, ALC_DEVICE_SPECIFIER);
		actualDeviceName = devices;
		Console::WriteLine(gcnew String(actualDeviceName));
	devices += strlen(devices) + 1;		

So I'm thinking the problem has to do with the warning I recieved, but I don't know how to fix it. I was able to get rid of the warning by adding
struct ALCdevice_struct {};
to the dll, but that didn't help at all. This problem only exists in managed code. Does anyone have a clue how to fix it, without resorting to unmanaged code (a possible, but last, alternative). [Edited by - njpaul on May 5, 2006 3:00:22 PM]

Forcibly update intellisense

19 February 2006 - 11:36 AM

I have Visual Studio 2005 Pro and it's great, but is there a way to force intellisense to update?