Autor Tema: os_id for android  (Leído 2512 veces)

handsource-dyko

  • Hero Member
  • *****
  • Mensajes: 568
  • Karma: 32
  • I'm the eye in the sky.
    • dyko designs
os_id for android
« en: Agosto 01, 2012, 11:43:22 am »
I've been looking in the sources of bennu and saw that there now exists a OS_ID constant for IOS.  Does the Android version use OS_LINUX as value for OS_ID? I may want to do some tests with malvado and mod_multi on the galaxy S2 some time and want to hack some touch controls into game. I'll have mod_multi for windows already, so I can easily prepare for an Android version when feel like to. Also does the Android port support Icontrolpad or keyboard emulation?
« última modificación: Diciembre 10, 2012, 01:56:39 pm por JaViS »

FreeYourMind

  • Hero Member
  • *****
  • Mensajes: 5648
  • Karma: 127
    • GECA soft
Re:os_id for android
« Respuesta #1 en: Agosto 01, 2012, 12:13:24 pm »
yes they are.... look again
 
 
OS_ID =  IOS

handsource-dyko

  • Hero Member
  • *****
  • Mensajes: 568
  • Karma: 32
  • I'm the eye in the sky.
    • dyko designs
Re:os_id for android
« Respuesta #2 en: Agosto 01, 2012, 02:52:34 pm »
So Android is treated as IOS? That's funny.  ;D Maybe future versions should have an OS_ID=OS_ANDROID?

panreyes

  • Administrator
  • *****
  • Mensajes: 2184
  • Karma: 74
    • panreyes.com
Re:os_id for android
« Respuesta #3 en: Agosto 01, 2012, 03:42:47 pm »

In this file Android is referenced as OS_ANDROID. May not be the same. I don't understand C xDhttp://code.google.com/searchframe#FSHwt1Eimcc/trunk/core/bgdrtm/src/misc.c&q=os_id%20package:bennugd-monolithic%5C.googlecode%5C.com

handsource-dyko

  • Hero Member
  • *****
  • Mensajes: 568
  • Karma: 32
  • I'm the eye in the sky.
    • dyko designs
Re:os_id for android
« Respuesta #4 en: Agosto 01, 2012, 05:05:36 pm »
Maybe a source from the monolythic version? I couldn't find in the repo browser, where I normally look.
OS_IOS is reconized, but OS_ANDROID gives a token error, wich I expected.
« última modificación: Agosto 01, 2012, 05:09:24 pm por handsource-dyko »

FreeYourMind

  • Hero Member
  • *****
  • Mensajes: 5648
  • Karma: 127
    • GECA soft
Re:os_id for android
« Respuesta #5 en: Agosto 01, 2012, 06:49:57 pm »
sorry I have a mistake, ios id exist because it cames from bennu oficial version, android id I think josebita don't implement yet the definition

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re:os_id for android
« Respuesta #6 en: Agosto 01, 2012, 06:59:03 pm »
In my monolithic branch, OS_ANDROID should work. Since you have to compile with the official version, you can use OS_ID==1003, which is the value for OS_ANDROID.

I don''t typically ask Splinter to add numeric codes until the port is, at least, usable.