this is how to program the factory remote on a CE lancer or mirage, i've taken this striaght from the factory install manual
Procedure (with at least 1 functional transmitter)
a. Ensure a door is open.
b. Arm then disarm the system.
c. Within 20 seconds of disarming, turn the ignition key from the "OFF" position to the "ACC" position 20 times leaving the key in the "OFF" position after the twentieth turn.
d. The vehicle's indicators will flash 20 times to indicate sucessful entry.
e. Once the indicators have finished flashing press the lock button (channel 1) on each of the transmitters you wish to program.
f. Once finished turn the ignition key to the "ACC" position to lock in and exit from programming mode.
Procedure (without transmitters)
a. Ensure a door is open.
b. Disconnect the negative battery cable, wait 5 seconds then reconnect.
NOTE: If the system begins to sound when power is reconnected then proceed to step (c), otherwise go to step (d).
c. Turn the ignition switch from the "OFF" to "ACC" position 10 times to manually override the alarm, Note: after the tenth turn leave the key in the OFF position and wait for the system to disarm after approximately 10 seconds.
d. Within 20 seconds of disarming, turn the ignition key from the "OFF" position to the "ACC" position 20 times leaving the key in the "OFF" position after the twentieth turn.
e. The vehicle's indicators will flash 20 times to indicate sucessful entry.
f. Once the indicators have finished flashing press the lock button (channel 1)( on each of the transmitters you wish to program.
g. Once finished turn the ignition key to the "ACC" position to lock in and exit from programming mode.
Procedure (with at least 1 functional transmitter)
a. Ensure a door is open.
b. Arm then disarm the system.
c. Within 20 seconds of disarming, turn the ignition key from the "OFF" position to the "ACC" position 20 times leaving the key in the "OFF" position after the twentieth turn.
d. The vehicle's indicators will flash 20 times to indicate sucessful entry.
e. Once the indicators have finished flashing press the lock button (channel 1) on each of the transmitters you wish to program.
f. Once finished turn the ignition key to the "ACC" position to lock in and exit from programming mode.
Procedure (without transmitters)
a. Ensure a door is open.
b. Disconnect the negative battery cable, wait 5 seconds then reconnect.
NOTE: If the system begins to sound when power is reconnected then proceed to step (c), otherwise go to step (d).
c. Turn the ignition switch from the "OFF" to "ACC" position 10 times to manually override the alarm, Note: after the tenth turn leave the key in the OFF position and wait for the system to disarm after approximately 10 seconds.
d. Within 20 seconds of disarming, turn the ignition key from the "OFF" position to the "ACC" position 20 times leaving the key in the "OFF" position after the twentieth turn.
e. The vehicle's indicators will flash 20 times to indicate sucessful entry.
f. Once the indicators have finished flashing press the lock button (channel 1)( on each of the transmitters you wish to program.
g. Once finished turn the ignition key to the "ACC" position to lock in and exit from programming mode.