Commit 320dfe00 authored by hpi1's avatar hpi1

added colored user input keys

parent 7e991e96
- Added HDMV/BDJ title information to BLURAY_DISC_INFO.
- Added disc application info to BLURAY_DISC_INFO.
- Added color keys (RED, GREEN, YELLOW, BLUE).
2013-12-21: Version 0.5.0
- Portability fixes.
......
......@@ -383,6 +383,10 @@ public class Libbluray {
case 14: key = KeyEvent.VK_LEFT; break;
case 15: key = KeyEvent.VK_RIGHT; break;
case 16: key = KeyEvent.VK_ENTER; break;
case 403: key = HRcEvent.VK_COLORED_KEY_0; break;
case 404: key = HRcEvent.VK_COLORED_KEY_1; break;
case 405: key = HRcEvent.VK_COLORED_KEY_2; break;
case 406: key = HRcEvent.VK_COLORED_KEY_3; break;
default:
key = -1;
result = false;
......
......@@ -54,6 +54,11 @@ typedef enum {
/* Translated to BD_VK_ENTER if mouse is over valid button */
BD_VK_MOUSE_ACTIVATE = 17,
BD_VK_RED = 403,
BD_VK_GREEN = 404,
BD_VL_YELLOW = 405,
BD_VK_BLUE = 406,
} bd_vk_key_e;
#endif // _BD_KEYS_H_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment