MAME layout file - promemoria

« Older   Newer »
 
  Share  
.
  1. barito
     
    .
    Avatar

    appassionato
    Amministratore

    Group
    Fondatore Supremo
    Posts
    167

    Status
    Offline
    Guardando il codice del driver hai
    Inputtag: IN0
    Inputmask: 0x40

    Lo vedi in questa sezione del driver gaelco3d.cpp:

    CODICE
    /*************************************
    *
    *  Input ports
    *
    *************************************/

    static INPUT_PORTS_START( speedup )
           PORT_START("IN0")
           PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_VOLUME_UP )
           PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_VOLUME_DOWN )
           PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON5 )
           PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON4 )
           PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_LSHIFT)    // view
           PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_LALT)      // brake
           PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_SPACE) PORT_TOGGLE // gear (low=1 high=2)
           PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START1 )       // start
           PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN )


    Edited by barito - 12/3/2021, 08:23
     
    .
20 replies since 30/9/2020, 14:13   5899 views
  Share  
.