Changeset 1640


Ignore:
Timestamp:
02/05/12 04:21:24 (2 years ago)
Author:
philmoz
Message:

Merge jogdial fix from CHDK-DE revision 566 to CHDK.

Location:
branches/release-1_0/platform
Files:
24 edited

Legend:

Unmodified
Added
Removed
  • branches/release-1_0/platform/g11/sub/100f/lib.c

    r1519 r1640  
    7575/* ERR99: ToDO: Check if this is also ok for G11 (taken from SX200IS port) */ 
    7676void JogDial_CW(void){ 
    77  _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     77 _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    7878} 
    7979 
    8080void JogDial_CCW(void){ 
    81  _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     81 _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    8282} 
    8383 
  • branches/release-1_0/platform/g11/sub/100j/lib.c

    r1519 r1640  
    8484/* ERR99: ToDO: Check if this is also ok for G11 (taken from SX200IS port) */ 
    8585void JogDial_CW(void){ 
    86  _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     86 _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    8787} 
    8888 
    8989void JogDial_CCW(void){ 
    90  _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     90 _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    9191} 
    9292 
  • branches/release-1_0/platform/g11/sub/100l/lib.c

    r1519 r1640  
    8484/* ERR99: ToDO: Check if this is also ok for G11 (taken from SX200IS port) */ 
    8585void JogDial_CW(void){ 
    86  _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     86 _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    8787} 
    8888 
    8989void JogDial_CCW(void){ 
    90  _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     90 _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    9191} 
    9292 
  • branches/release-1_0/platform/ixus1000_sd4500/lib.c

    r1385 r1640  
    8080 
    8181void JogDial_CW(void){ 
    82  _PostLogicalEventForNotPowerType(0x877, 2);  // RotateJogDialRight  old 874 
     82 _PostLogicalEventForNotPowerType(0x877, 1);  // RotateJogDialRight  old 874 
    8383} 
    8484 
    8585void JogDial_CCW(void){ 
    86  _PostLogicalEventForNotPowerType(0x876, 2);  // RotateJogDialLeft  old 875 
     86 _PostLogicalEventForNotPowerType(0x876, 1);  // RotateJogDialLeft  old 875 
    8787} 
  • branches/release-1_0/platform/ixus100_sd780/lib.c

    r1328 r1640  
    5757// from sx10 
    5858void JogDial_CW(void){ 
    59  _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     59 _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    6060} 
    6161 
    6262void JogDial_CCW(void){ 
    63  _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     63 _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    6464} 
    65  
    66  
  • branches/release-1_0/platform/ixus300_sd4000/lib.c

    r1377 r1640  
    125125// ROM:FFB9FA18 DCD 2 
    126126void JogDial_CW(void) { 
    127     _PostLogicalEventForNotPowerType(0x876, 2);  // RotateJogDialRight at levent_table 
     127    _PostLogicalEventForNotPowerType(0x876, 1);  // RotateJogDialRight at levent_table 
    128128} 
    129129 
     
    132132// ROM:FFB9FA24 DCD 2 
    133133void JogDial_CCW(void) { 
    134     _PostLogicalEventForNotPowerType(0x877, 2);  // RotateJogDialLeft at levent_table 
     134    _PostLogicalEventForNotPowerType(0x877, 1);  // RotateJogDialLeft at levent_table 
    135135} 
    136136 
  • branches/release-1_0/platform/ixus85_sd770/lib.c

    r1376 r1640  
    3636void JogDial_CW(void) 
    3737{ 
    38         _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     38        _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    3939} 
    4040 
    4141void JogDial_CCW(void) 
    4242{ 
    43         _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     43        _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    4444} 
  • branches/release-1_0/platform/ixus870_sd880/lib.c

    r1022 r1640  
    7979 
    8080void JogDial_CW(void){ 
    81  _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     81 _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    8282} 
    8383 
    8484void JogDial_CCW(void){ 
    85  _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     85 _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    8686} 
    8787 
  • branches/release-1_0/platform/ixus90_sd790/lib.c

    r1376 r1640  
    6969void JogDial_CW(void) 
    7070{ 
    71         _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     71        _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    7272} 
    7373 
    7474void JogDial_CCW(void) 
    7575{ 
    76         _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     76        _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    7777} 
    7878 
  • branches/release-1_0/platform/ixus95_sd1200/lib.c

    r1376 r1640  
    5151// from sx10 
    5252void JogDial_CW(void){ 
    53  _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     53 _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    5454} 
    5555 
    5656void JogDial_CCW(void){ 
    57  _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     57 _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    5858} 
    5959 
  • branches/release-1_0/platform/ixus970_sd890/lib.c

    r1377 r1640  
    3636void JogDial_CW(void) 
    3737{ 
    38         _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     38        _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    3939} 
    4040 
    4141void JogDial_CCW(void) 
    4242{ 
    43         _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     43        _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    4444} 
  • branches/release-1_0/platform/ixus980_sd990/lib.c

    r977 r1640  
    5757// from sx10 
    5858void JogDial_CW(void){ 
    59  _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     59 _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    6060} 
    6161 
    6262void JogDial_CCW(void){ 
    63  _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     63 _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    6464} 
    6565 
  • branches/release-1_0/platform/s90/sub/100c/lib.c

    r1519 r1640  
    7373/* ERR99: ToDO: Check if this is also ok for S90 (taken from SX200IS port) */ 
    7474void JogDial_CW(void){ 
    75  _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     75 _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    7676} 
    7777 
    7878void JogDial_CCW(void){ 
    79  _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     79 _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    8080} 
    8181 
  • branches/release-1_0/platform/s90/sub/101a/lib.c

    r1519 r1640  
    9393/* ERR99: ToDO: Check if this is also ok for G11 (taken from SX200IS port) */ 
    9494void JogDial_CW(void){ 
    95  _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     95 _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    9696} 
    9797 
    9898void JogDial_CCW(void){ 
    99  _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     99 _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    100100} 
    101101 
  • branches/release-1_0/platform/s90/sub/101c/lib.c

    r1519 r1640  
    9393/* ERR99: ToDO: Check if this is also ok for G11 (taken from SX200IS port) */ 
    9494void JogDial_CW(void){ 
    95  _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     95 _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    9696} 
    9797 
    9898void JogDial_CCW(void){ 
    99  _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     99 _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    100100} 
    101101 
  • branches/release-1_0/platform/s95/sub/100e/lib.c

    r1519 r1640  
    6363 
    6464void JogDial_CW(void){ 
    65         _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     65        _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    6666} 
    6767 
    6868 
    6969void JogDial_CCW(void){ 
    70         _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     70        _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    7171} 
    7272 
  • branches/release-1_0/platform/s95/sub/100h/lib.c

    r1519 r1640  
    6363 
    6464void JogDial_CW(void){ 
    65         _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     65        _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    6666} 
    6767 
    6868 
    6969void JogDial_CCW(void){ 
    70         _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     70        _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    7171} 
    7272 
  • branches/release-1_0/platform/sx1/lib.c

    r977 r1640  
    4444 
    4545void JogDial_CW(void){ 
    46  _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     46 _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    4747} 
    4848 
    4949void JogDial_CCW(void){ 
    50  _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     50 _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    5151} 
  • branches/release-1_0/platform/sx110is/lib.c

    r977 r1640  
    1  
    21#include "platform.h" 
    32#include "lolevel.h" 
     
    1413 _RefreshPhysicalScreen(1); 
    1514} 
     15 
     16 
    1617void shutdown() 
    1718{ 
     
    2223ROM:FFC0CD94                 STR     R0, [R1,#0x54] 
    2324ROM:FFC0CD98                 STR     R0, [R1,#0x4C] 
     25 
    2426 
    2527C0220000+54+4C=0xC02200A0 
     
    5860 
    5961void JogDial_CW(void){ 
    60  _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     62 _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    6163} 
    6264 
    6365void JogDial_CCW(void){ 
    64  _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     66 _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    6567} 
    6668 
  • branches/release-1_0/platform/sx130is/lib.c

    r1316 r1640  
    156156 
    157157void JogDial_CW(void){ 
    158  _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     158 _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    159159} 
    160160 
    161161void JogDial_CCW(void){ 
    162  _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     162 _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    163163} 
    164164 
  • branches/release-1_0/platform/sx20/lib.c

    r977 r1640  
    5555 
    5656void JogDial_CW(void){ 
    57  _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     57 _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    5858} 
    5959 
    6060void JogDial_CCW(void){ 
    61  _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     61 _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    6262} 
  • branches/release-1_0/platform/sx200is/lib.c

    r977 r1640  
    4343 
    4444void JogDial_CW(void){ 
    45  _PostLogicalEventForNotPowerType(0x874, 2);  // RotateJogDialRight 
     45 _PostLogicalEventForNotPowerType(0x874, 1);  // RotateJogDialRight 
    4646} 
    4747 
    4848void JogDial_CCW(void){ 
    49  _PostLogicalEventForNotPowerType(0x875, 2);  // RotateJogDialLeft 
     49 _PostLogicalEventForNotPowerType(0x875, 1);  // RotateJogDialLeft 
    5050} 
  • branches/release-1_0/platform/sx220hs/lib.c

    r1499 r1640  
    4949 
    5050void JogDial_CW(void){ 
    51  _PostLogicalEventForNotPowerType(0x86E, 2);  // @FF416880 
     51 _PostLogicalEventForNotPowerType(0x86E, 1);  // @FF416880 
    5252} 
    5353 
    5454void JogDial_CCW(void){ 
    55  _PostLogicalEventForNotPowerType(0x86F, 2);  // @FF41688C 
     55 _PostLogicalEventForNotPowerType(0x86F, 1);  // @FF41688C 
    5656} 
    5757 
  • branches/release-1_0/platform/sx230hs/lib.c

    r1499 r1640  
    55void vid_bitmap_refresh() 
    66{ 
    7         extern int full_screen_refresh; 
     7        extern int full_screen_refresh; 
     8 
    89        extern void _LockAndRefresh(); // wrapper function for screen lock 
    910        extern void _UnlockAndRefresh(); // wrapper function for screen unlock 
     
    4950 
    5051void JogDial_CW(void){ 
    51  _PostLogicalEventForNotPowerType(0x86E, 2);  // @FF416880 (100c) 
     52 _PostLogicalEventForNotPowerType(0x86E, 1);  // @FF416880 (100c) 
    5253} 
    5354 
    5455void JogDial_CCW(void){ 
    55  _PostLogicalEventForNotPowerType(0x86F, 2);  // @FF41688C (100c) 
     56 _PostLogicalEventForNotPowerType(0x86F, 1);  // @FF41688C (100c) 
    5657} 
    5758 
     
    9495 
    9596long vid_get_viewport_height(){ return 240; } 
     97 
Note: See TracChangeset for help on using the changeset viewer.