File diff r24806:73f15ec092c5 → r24807:48a7f8b46730
src/video/allegro_v.cpp
Show inline comments
 
@@ -235,7 +235,7 @@ bool VideoDriver_Allegro::ClaimMousePoin
 
	return true;
 
}
 

	
 
struct VkMapping {
 
struct AllegroVkMapping {
 
	uint16 vk_from;
 
	byte vk_count;
 
	byte map_to;
 
@@ -244,7 +244,7 @@ struct VkMapping {
 
#define AS(x, z) {x, 0, z}
 
#define AM(x, y, z, w) {x, y - x, z}
 

	
 
static const VkMapping _vk_mapping[] = {
 
static const AllegroVkMapping _vk_mapping[] = {
 
	/* Pageup stuff + up/down */
 
	AM(KEY_PGUP, KEY_PGDN, WKC_PAGEUP, WKC_PAGEDOWN),
 
	AS(KEY_UP,     WKC_UP),
 
@@ -302,7 +302,7 @@ static uint32 ConvertAllegroKeyIntoMy(WC
 
	int scancode;
 
	int unicode = ureadkey(&scancode);
 

	
 
	const VkMapping *map;
 
	const AllegroVkMapping *map;
 
	uint key = 0;
 

	
 
	for (map = _vk_mapping; map != endof(_vk_mapping); ++map) {