1496 |
gboolean handled = FALSE; |
gboolean handled = FALSE; |
1497 |
int step = GTK_WIDGET(widget)->allocation.width/OSM_GPS_MAP_SCROLL_STEP; |
int step = GTK_WIDGET(widget)->allocation.width/OSM_GPS_MAP_SCROLL_STEP; |
1498 |
|
|
1499 |
printf("key event with keyval %x\n", event->keyval); |
// printf("key event with keyval %x\n", event->keyval); |
1500 |
|
|
1501 |
// the map handles some keys on its own ... |
// the map handles some keys on its own ... |
1502 |
switch(event->keyval) { |
switch(event->keyval) { |
1564 |
#endif |
#endif |
1565 |
|
|
1566 |
default: |
default: |
1567 |
printf("unhandled key event with keyval %x\n", event->keyval); |
// printf("unhandled key event with keyval %x\n", event->keyval); |
1568 |
break; |
break; |
1569 |
} |
} |
1570 |
|
|