| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 case VKEY_RSHIFT: | 227 case VKEY_RSHIFT: |
| 228 return 62; | 228 return 62; |
| 229 case VKEY_LCONTROL: | 229 case VKEY_LCONTROL: |
| 230 return 37; | 230 return 37; |
| 231 case VKEY_RCONTROL: | 231 case VKEY_RCONTROL: |
| 232 return 105; | 232 return 105; |
| 233 case VKEY_LMENU: | 233 case VKEY_LMENU: |
| 234 return 64; | 234 return 64; |
| 235 case VKEY_RMENU: | 235 case VKEY_RMENU: |
| 236 return 108; | 236 return 108; |
| 237 case VKEY_NUMLOCK: |
| 238 return 77; |
| 237 | 239 |
| 238 default: | 240 default: |
| 239 return 0; | 241 return 0; |
| 240 } | 242 } |
| 241 #else | 243 #else |
| 242 return keysym - keysym; | 244 return keysym - keysym; |
| 243 #endif | 245 #endif |
| 244 } | 246 } |
| 245 | 247 |
| 246 } | 248 } |
| OLD | NEW |