Coder Social home page Coder Social logo

Comments (4)

peplin avatar peplin commented on August 12, 2024

A combination of an emulator skin with:

  • Custom graphics
  • Custom key mapping
  • Custom buttons in skin layout

http://stackoverflow.com/questions/5567475/adding-a-button-to-the-android-emulator-skin

http://heikobehrens.net/2011/03/15/android-skins/

from openxc-android.

peplin avatar peplin commented on August 12, 2024

Key mapping is actually not supported in the capacity we need - you can only specify keys for predefined emulator events:

 BUTTON_HOME         BUTTON_VOLUME_DOWN  BUTTON_DPAD_CENTER  
    BUTTON_MENU         BUTTON_CAMERA       BUTTON_DPAD_LEFT    
    BUTTON_STAR         CHANGE_LAYOUT_PREV  BUTTON_DPAD_RIGHT   
    BUTTON_BACK         CHANGE_LAYOUT_NEXT  BUTTON_DPAD_UP      
    BUTTON_CALL         TOGGLE_NETWORK      BUTTON_DPAD_DOWN    
    BUTTON_HANGUP       TOGGLE_TRACING      ONION_ALPHA_UP      
    BUTTON_POWER        TOGGLE_FULLSCREEN   ONION_ALPHA_DOWN    
    BUTTON_SEARCH       TOGGLE_TRACKBALL    
    BUTTON_VOLUME_UP    SHOW_TRACKBALL      

from openxc-android.

peplin avatar peplin commented on August 12, 2024

Short of changing the source of the emulator, I think the best thing we can recommend is to implement button event handlers in your application to accept either VehicleButtonEvent from OpenXC or the plain key events from Android.

from openxc-android.

peplin avatar peplin commented on August 12, 2024

I've documented the recommended method in openxc-android - we can revisit a custom emulator in the future.

from openxc-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.