Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Pages: 1 [2]

Author Topic: Looking for more OIS Platform Ports  (Read 11571 times)

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2653
    • View Profile
    • http://www.wreckedgames.com
Re: Looking for more OIS Platform Ports
« Reply #15 on: February 10, 2008, 03:59:33 PM »

Hi, would be good to support BSD without SDL, but at least is nice to get a working solution for BSD in the time being...

Have you tried the BSD patch on the Sourceforge project page? It adds some BSD build scripts as well as updates the SDL OIS port to work.
Logged

AMDmi3

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 3
    • View Profile
Re: Looking for more OIS Platform Ports
« Reply #16 on: June 15, 2008, 11:01:46 PM »

Phew, I'm finally back to work on FreeBSD OIS port. I've tried that SDL patch from tracker, but unfortunately I couldn't make it work. ConsoleApp demo complains that SDL not initialized, and even if I change throwing exception to SDL_Init call, no events will be reported (though mouse freezes until I kill ConsoleApp). Maybe because there's no application window.

But after looking through linux/* stuff more closely I've realized how careless I was - actually linux/input.h is only needed for joysticks, and mouse+keyboard support compiles without any modifications. ConsoleApp also works and is reporting events. I have some ideas (involving libusbhid) on how to make joysticks work, but I'm not sure about feedback support. This will require some more time for experiments, but for now port with mouse and keyboard support is ready.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2653
    • View Profile
    • http://www.wreckedgames.com
Re: Looking for more OIS Platform Ports
« Reply #17 on: June 17, 2008, 08:13:06 AM »

Sounds great! Let me know if you need direct CVS access to make things easier and/or if you feel patches would be easier.
Logged

AMDmi3

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 3
    • View Profile
Re: Looking for more OIS Platform Ports
« Reply #18 on: June 17, 2008, 04:13:33 PM »

> Let me know if you need direct CVS access

I will, if/as soon as I do something useful related to joystick support. Ripping it out is not useful to merge into CVS I think :)
Logged
Pages: 1 [2]